#403A18
Closest named color: Dark Olive (#373E02). oklch(34.6% 0.052 99.5), rgb(64, 58, 24).
Aa
White text reads best on this color (11.43:1).
About this color
#403A18 is a dark, muted brown. In OKLCH its lightness is 35%, its chroma 0.052 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.032 away. White text reads best on it, at 11.43:1.
| Hue family | Browns |
| Lightness | dark (35%) |
| Chroma | muted (0.052) |
| Temperature | warm |
| Nearest name | Dark Olive (#373E02) |
| Black text | 1.83:1 |
| White text | 11.43:1 |
Values
| HEX | #403A18 |
| RGB | rgb(64, 58, 24) |
| HSL | hsl(51, 45%, 17%) |
| OKLCH | oklch(34.6% 0.052 99.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 #403A18 | 11.43:1 | AAA | Lc -100.0 | Preferred for body text |
| Black text on #403A18 | 1.83:1 | Fails | Lc 7.6 | Not readable |
| #403A18 text on white | 11.43:1 | AAA | Lc 96.3 | Preferred for body text |
| #403A18 text on black | 1.83:1 | Fails | Lc 0.0 | 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
#F6F5F2
oklch(97% 0.004 91.4)
-
Step 100
100
#EBEAE2
oklch(93.6% 0.011 100.8)
-
Step 200
200
#DCDACA
oklch(88.6% 0.022 101)
-
Step 300
300
#C6C2A5
oklch(81% 0.04 100.8)
-
Step 400
400
#AAA275
oklch(70.8% 0.062 99.3)
-
Step 500
500
#958B50
oklch(63.2% 0.08 99.9)
-
Step 600
600
#807434
oklch(55.6% 0.086 98.8)
-
Step 700
700
#6C6126
oklch(49% 0.08 98.8)
-
Step 800
800
#585021
oklch(42.8% 0.067 99.8)
-
Step 900
900 (this color)
#403A18
oklch(34.6% 0.052 99.5)
-
Step 950
950
#2A2713
oklch(27% 0.034 100.9)
#403A18 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) | #3F3815 | 0.007 |
| Deuteranopia (no green cones) | #413B1A | 0.004 |
| Tritanopia (no blue cones) | #453632 | 0.047 |
| Achromatopsia (no color) | #3A3A3A | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #403A18
#403A18
oklch(34.6% 0.052 99.5)
- #343654
#343654
oklch(34.5% 0.052 280.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 #403A18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.032
- Pakistan Green #283618 ΔE 0.044
- Charcoal Grey #3C4142 ΔE 0.060
- Onyx #343A40 ΔE 0.063
- Evergreen #05472A ΔE 0.069
- Pine Green #0A481E ΔE 0.071
- Forrest Green #154406 ΔE 0.071
- Mud Brown #60460F ΔE 0.073
Use #403A18 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.