#5B571B
Closest named color: Olive Brown (#645403). oklch(44.8% 0.08 105.5), rgb(91, 87, 27).
Aa
White text reads best on this color (7.43:1).
About this color
#5B571B is a dark, moderately saturated brown. In OKLCH its lightness is 45%, its chroma 0.080 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.018 away. White text reads best on it, at 7.43:1.
| Hue family | Browns |
| Lightness | dark (45%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Olive Brown (#645403) |
| Black text | 2.82:1 |
| White text | 7.43:1 |
Values
| HEX | #5B571B |
| RGB | rgb(91, 87, 27) |
| HSL | hsl(56, 54%, 23%) |
| OKLCH | oklch(44.8% 0.08 105.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 #5B571B | 7.43:1 | AAA | Lc -90.6 | Preferred for body text |
| Black text on #5B571B | 2.82:1 | Fails | Lc 18.2 | Dividers and decoration only |
| #5B571B text on white | 7.43:1 | AAA | Lc 85.8 | Fine for body text |
| #5B571B text on black | 2.82:1 | Fails | Lc -16.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 800.
-
Step 50
50
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EBEBE0
oklch(93.7% 0.015 106.7)
-
Step 200
200
#DBDAC7
oklch(88.4% 0.026 104.5)
-
Step 300
300
#C4C3A0
oklch(80.9% 0.047 106.1)
-
Step 400
400
#A7A46C
oklch(70.8% 0.076 105.6)
-
Step 500
500
#928D44
oklch(63.2% 0.095 105.3)
-
Step 600
600
#7C7622
oklch(55.5% 0.103 105.2)
-
Step 700
700
#696313
oklch(49% 0.096 104.9)
-
Step 800
800 (this color)
#5B571B
oklch(44.8% 0.08 105.5)
-
Step 900
900
#464318
oklch(37.6% 0.062 105.3)
-
Step 950
950
#29280F
oklch(27.1% 0.041 106.7)
#5B571B 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) | #5F5413 | 0.010 |
| Deuteranopia (no green cones) | #60561F | 0.010 |
| Tritanopia (no blue cones) | #62514B | 0.073 |
| Achromatopsia (no color) | #555555 | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B571B
#5B571B
oklch(44.8% 0.08 105.5)
- #514E7F
#514E7F
oklch(44.9% 0.079 285.5)
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 #5B571B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Brown #645403 ΔE 0.018
- Army Green #4B5D16 ΔE 0.031
- Green Brown #544E03 ΔE 0.032
- Greeny Brown #696006 ΔE 0.040
- Camouflage Green #4B6113 ΔE 0.040
- Camo Green #526525 ΔE 0.041
- Mud #735C12 ΔE 0.045
- Mud Brown #60460F ΔE 0.048
Use #5B571B 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.