#5B520B
Closest named color: Olive Brown (#645403). oklch(43.4% 0.086 101.5), rgb(91, 82, 11).
Aa
White text reads best on this color (7.90:1).
About this color
#5B520B is a dark, moderately saturated brown. In OKLCH its lightness is 43%, its chroma 0.086 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Brown (#645403), ΔE 0.017 away. White text reads best on it, at 7.90:1.
| Hue family | Browns |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.086) |
| Temperature | warm |
| Nearest name | Olive Brown (#645403) |
| Black text | 2.65:1 |
| White text | 7.90:1 |
Values
| HEX | #5B520B |
| RGB | rgb(91, 82, 11) |
| HSL | hsl(53, 78%, 20%) |
| OKLCH | oklch(43.4% 0.086 101.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 #5B520B | 7.90:1 | AAA | Lc -92.0 | Preferred for body text |
| Black text on #5B520B | 2.65:1 | Fails | Lc 16.7 | Dividers and decoration only |
| #5B520B text on white | 7.90:1 | AAA | Lc 87.3 | Fine for body text |
| #5B520B text on black | 2.65:1 | Fails | Lc -14.8 | Not readable |
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
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DDDAC5
oklch(88.5% 0.028 100.3)
-
Step 300
300
#C7C29D
oklch(80.9% 0.05 101)
-
Step 400
400
#ABA367
oklch(70.8% 0.08 101.6)
-
Step 500
500
#968B3B
oklch(63% 0.102 101.5)
-
Step 600
600
#817510
oklch(55.7% 0.112 101.9)
-
Step 700
700
#6D6200
oklch(49.1% 0.103 101.8)
-
Step 800
800 (this color)
#5B520B
oklch(43.4% 0.086 101.5)
-
Step 900
900
#494212
oklch(37.6% 0.066 100.9)
-
Step 950
950
#2B270C
oklch(27% 0.043 101)
#5B520B 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) | #5B4F00 | 0.009 |
| Deuteranopia (no green cones) | #5D5311 | 0.006 |
| Tritanopia (no blue cones) | #634B45 | 0.079 |
| Achromatopsia (no color) | #515151 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B520B
#5B520B
oklch(43.4% 0.086 101.5)
- #494A7F
#494A7F
oklch(43.3% 0.087 281.3)
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 #5B520B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Brown #645403 ΔE 0.017
- Green Brown #544E03 ΔE 0.018
- Mud Brown #60460F ΔE 0.037
- Army Green #4B5D16 ΔE 0.038
- Camouflage Green #4B6113 ΔE 0.049
- Greeny Brown #696006 ΔE 0.050
- Mud #735C12 ΔE 0.054
- Camo Green #526525 ΔE 0.055
Use #5B520B 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.