#402912
Closest named color: Chocolate Brown (#411900). oklch(30.4% 0.049 64), rgb(64, 41, 18).
Aa
White text reads best on this color (13.60:1).
About this color
#402912 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.049 and its hue 64°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.044 away. White text reads best on it, at 13.60:1.
| Hue family | Browns |
| Lightness | dark (30%) |
| Chroma | muted (0.049) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.54:1 |
| White text | 13.60:1 |
Values
| HEX | #402912 |
| RGB | rgb(64, 41, 18) |
| HSL | hsl(30, 56%, 16%) |
| OKLCH | oklch(30.4% 0.049 64) |
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 #402912 | 13.60:1 | AAA | Lc -103.1 | Preferred for body text |
| Black text on #402912 | 1.54:1 | Fails | Lc 0.0 | Not readable |
| #402912 text on white | 13.60:1 | AAA | Lc 100.0 | Preferred for body text |
| #402912 text on black | 1.54: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 950.
-
Step 50
50
#F9F4F0
oklch(97% 0.008 61.5)
-
Step 100
100
#F2E8DE
oklch(93.6% 0.017 67.6)
-
Step 200
200
#E9D5C3
oklch(88.5% 0.033 64.4)
-
Step 300
300
#DCB99A
oklch(80.8% 0.058 63.4)
-
Step 400
400
#CA9461
oklch(70.7% 0.094 63.7)
-
Step 500
500
#BB7830
oklch(63.1% 0.12 64.1)
-
Step 600
600
#A56000
oklch(55.5% 0.126 63.7)
-
Step 700
700
#8B5100
oklch(49.2% 0.111 64.6)
-
Step 800
800
#734100
oklch(42.7% 0.097 63.4)
-
Step 900
900
#5E370B
oklch(37.7% 0.078 63.4)
-
Step 950
950 (this color)
#402912
oklch(30.4% 0.049 64)
#402912 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) | #302B10 | 0.033 |
| Deuteranopia (no green cones) | #363012 | 0.029 |
| Tritanopia (no blue cones) | #462424 | 0.038 |
| Achromatopsia (no color) | #2E2E2E | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402912
#402912
oklch(30.4% 0.049 64)
- #173146
#173146
oklch(30.3% 0.05 244.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 #402912, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.044
- Dark Brown #341C02 ΔE 0.050
- Pakistan Green #283618 ΔE 0.056
- Jet #212529 ΔE 0.072
- Dark Olive #373E02 ΔE 0.075
- Onyx #343A40 ΔE 0.075
- Gunmetal #293241 ΔE 0.079
- Mahogany #4A0100 ΔE 0.083
Use #402912 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.