#5F400B
Closest named color: Mud Brown (#60460F). oklch(39.7% 0.078 75), rgb(95, 64, 11).
Aa
White text reads best on this color (9.43:1).
About this color
#5F400B is a dark, moderately saturated brown. In OKLCH its lightness is 40%, its chroma 0.078 and its hue 75°. Its hue sits on the warm side of the wheel. The nearest named color is Mud Brown (#60460F), ΔE 0.017 away. White text reads best on it, at 9.43:1.
| Hue family | Browns |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.078) |
| Temperature | warm |
| Nearest name | Mud Brown (#60460F) |
| Black text | 2.22:1 |
| White text | 9.43:1 |
Values
| HEX | #5F400B |
| RGB | rgb(95, 64, 11) |
| HSL | hsl(38, 79%, 21%) |
| OKLCH | oklch(39.7% 0.078 75) |
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 #5F400B | 9.43:1 | AAA | Lc -95.9 | Preferred for body text |
| Black text on #5F400B | 2.22:1 | Fails | Lc 12.3 | Not readable |
| #5F400B text on white | 9.43:1 | AAA | Lc 91.6 | Preferred for body text |
| #5F400B text on black | 2.22:1 | Fails | Lc -10.7 | 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 900.
-
Step 50
50
#F9F5F0
oklch(97.2% 0.008 73.7)
-
Step 100
100
#F1E9DE
oklch(93.7% 0.017 76.1)
-
Step 200
200
#E6D7C2
oklch(88.6% 0.033 76.4)
-
Step 300
300
#D7BC97
oklch(80.9% 0.058 75.5)
-
Step 400
400
#C3985C
oklch(70.7% 0.093 74.5)
-
Step 500
500
#B37E26
oklch(63.2% 0.119 75.3)
-
Step 600
600
#9B6700
oklch(55.5% 0.117 74.4)
-
Step 700
700
#825700
oklch(49.1% 0.103 75.7)
-
Step 800
800
#6B4600
oklch(42.6% 0.09 74.7)
-
Step 900
900 (this color)
#5F400B
oklch(39.7% 0.078 75)
-
Step 950
950
#342307
oklch(27.1% 0.049 76.4)
#5F400B 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) | #4B4202 | 0.040 |
| Deuteranopia (no green cones) | #52490D | 0.034 |
| Tritanopia (no blue cones) | #683836 | 0.065 |
| Achromatopsia (no color) | #464646 | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F400B
#5F400B
oklch(39.7% 0.078 75)
- #284870
#284870
oklch(39.7% 0.078 254.9)
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 #5F400B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mud Brown #60460F ΔE 0.017
- Green Brown #544E03 ΔE 0.047
- Olive Brown #645403 ΔE 0.061
- Chestnut #742802 ΔE 0.067
- Purple Brown #673A3F ΔE 0.074
- Dark Olive #373E02 ΔE 0.076
- Milk Chocolate #7F4E1E ΔE 0.077
- Medium Brown #7F5112 ΔE 0.081
Use #5F400B 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.