#5B5540 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #5b5540 graphic
#5b5540 is a muted, desaturated olive with strong grey undertones. This shadowy, earthy hue projects seriousness and traditional stability. It works best as a supporting background element rather than a dominant color, as it can feel muddy in large, solid blocks. Because white text maintains excellent 7.5:1 contrast against this dark base, it is a practical choice for moody UI designs or rustic, organic branding.

Questions about #5b5540

What is #5b5540 in RGB, HSL and CMYK?
In RGB, #5b5540 is rgb(91, 85, 64), in HSL hsl(47, 17%, 30%) and in CMYK 0%, 7%, 30%, 64%. Browse more shades of gray with names and hex codes.
How should I use #5b5540 in UI design?
Use #5b5540 as a dark background element to create a moody, grounded atmosphere in your interface. Because it offers strong contrast against white text, it maintains high readability while feeling significantly softer than pure black or dark charcoal.
What colors pair well with #5b5540?
This muted olive works best when paired with warm, natural neutrals or soft off-whites. It creates a cohesive, organic palette when combined with cream or terracotta, which helps lift the earthy, grey undertones found in the primary color.
Is #5b5540 readable on white or black?
#5b5540 has a 7.45:1 contrast ratio on white and 2.81:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.