#40400B
Closest named color: Dark Olive (#373E02). oklch(36% 0.071 109.5), rgb(64, 64, 11).
Aa
White text reads best on this color (10.73:1).
About this color
#40400B is a dark, moderately saturated brown. In OKLCH its lightness is 36%, its chroma 0.071 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.019 away. White text reads best on it, at 10.73:1.
| Hue family | Browns |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.071) |
| Temperature | warm |
| Nearest name | Dark Olive (#373E02) |
| Black text | 1.95:1 |
| White text | 10.73:1 |
Values
| HEX | #40400B |
| RGB | rgb(64, 64, 11) |
| HSL | hsl(60, 71%, 15%) |
| OKLCH | oklch(36% 0.071 109.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 #40400B | 10.73:1 | AAA | Lc -98.7 | Preferred for body text |
| Black text on #40400B | 1.95:1 | Fails | Lc 9.1 | Not readable |
| #40400B text on white | 10.73:1 | AAA | Lc 94.8 | Preferred for body text |
| #40400B text on black | 1.95:1 | Fails | Lc -7.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 900.
-
Step 50
50
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EAEBDF
oklch(93.6% 0.016 110.6)
-
Step 200
200
#DADBC5
oklch(88.5% 0.03 109.1)
-
Step 300
300
#C2C49D
oklch(80.9% 0.053 109.9)
-
Step 400
400
#A4A566
oklch(70.6% 0.084 109.2)
-
Step 500
500
#8E8F39
oklch(63.2% 0.109 109.8)
-
Step 600
600
#79780A
oklch(55.6% 0.118 109.1)
-
Step 700
700
#656500
oklch(49.1% 0.107 109.8)
-
Step 800
800
#535304
oklch(42.8% 0.091 109.7)
-
Step 900
900 (this color)
#40400B
oklch(36% 0.071 109.5)
-
Step 950
950
#28280C
oklch(27% 0.044 109)
#40400B 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) | #463D03 | 0.013 |
| Deuteranopia (no green cones) | #473F0F | 0.014 |
| Tritanopia (no blue cones) | #453B36 | 0.065 |
| Achromatopsia (no color) | #3E3E3E | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40400B
#40400B
oklch(36% 0.071 109.5)
- #3D3660
#3D3660
oklch(36.1% 0.071 290)
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 #40400B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.019
- Pakistan Green #283618 ΔE 0.056
- Forrest Green #154406 ΔE 0.058
- Green Brown #544E03 ΔE 0.059
- Pine Green #0A481E ΔE 0.059
- Navy Green #35530A ΔE 0.062
- Evergreen #05472A ΔE 0.063
- Mud Brown #60460F ΔE 0.063
Use #40400B 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.