#5B5942
Closest named color: Olive Brown (#645403). oklch(45.9% 0.035 103.5), rgb(91, 89, 66).
Aa
White text reads best on this color (7.11:1).
About this color
#5B5942 is a medium-dark, muted brown. In OKLCH its lightness is 46%, its chroma 0.035 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.057 away. White text reads best on it, at 7.11:1.
| Hue family | Browns |
| Lightness | medium-dark (46%) |
| Chroma | muted (0.035) |
| Temperature | warm |
| Nearest name | Olive Brown (#645403) |
| Black text | 2.95:1 |
| White text | 7.11:1 |
Values
| HEX | #5B5942 |
| RGB | rgb(91, 89, 66) |
| HSL | hsl(55, 16%, 31%) |
| OKLCH | oklch(45.9% 0.035 103.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #5B5942 | 7.11:1 | AAA | Lc -89.6 | Fine for body text |
| Black text on #5B5942 | 2.95:1 | Fails | Lc 19.3 | Dividers and decoration only |
| #5B5942 text on white | 7.11:1 | AAA | Lc 84.7 | Fine for body text |
| #5B5942 text on black | 2.95:1 | Fails | Lc -17.3 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F6F5F4
oklch(97.1% 0.002 67.8)
-
Step 100
100
#EAEAE6
oklch(93.6% 0.005 106.5)
-
Step 200
200
#DAD9D2
oklch(88.4% 0.01 100)
-
Step 300
300
#C2C1B5
oklch(80.8% 0.017 102.9)
-
Step 400
400
#A3A28E
oklch(70.7% 0.028 104.8)
-
Step 500
500
#8D8B73
oklch(63.2% 0.035 103.4)
-
Step 600
600
#77755B
oklch(55.7% 0.038 103.9)
-
Step 700
700 (this color)
#5B5942
oklch(45.9% 0.035 103.5)
-
Step 800
800
#52503D
oklch(42.8% 0.03 102.6)
-
Step 900
900
#434234
oklch(37.6% 0.023 104.1)
-
Step 950
950
#27271F
oklch(27% 0.014 107.3)
#5B5942 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #5D5741 | 0.006 |
| Deuteranopia (no green cones) | #5E5943 | 0.005 |
| Tritanopia (no blue cones) | #5F5653 | 0.032 |
| Achromatopsia (no color) | #585858 | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B5942
#5B5942
oklch(45.9% 0.035 103.5)
- #55566B
#55566B
oklch(46% 0.034 282.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5B5942, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Brown #645403 ΔE 0.057
- Camo Green #526525 ΔE 0.063
- Mud #735C12 ΔE 0.063
- Army Green #4B5D16 ΔE 0.065
- Dark Moss Green #606C38 ΔE 0.065
- Mud Brown #60460F ΔE 0.066
- Green Brown #544E03 ΔE 0.067
- Greeny Brown #696006 ΔE 0.068
Use #5B5942 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.