#402C16
Closest named color: Pakistan Green (#283618). oklch(31.1% 0.045 67.4), rgb(64, 44, 22).
Aa
White text reads best on this color (13.20:1).
About this color
#402C16 is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.045 and its hue 67°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.051 away. White text reads best on it, at 13.20:1.
| Hue family | Browns |
| Lightness | dark (31%) |
| Chroma | muted (0.045) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.58:1 |
| White text | 13.20:1 |
Values
| HEX | #402C16 |
| RGB | rgb(64, 44, 22) |
| HSL | hsl(31, 49%, 17%) |
| OKLCH | oklch(31.1% 0.045 67.4) |
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 #402C16 | 13.20:1 | AAA | Lc -102.7 | Preferred for body text |
| Black text on #402C16 | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #402C16 text on white | 13.20:1 | AAA | Lc 99.5 | Preferred for body text |
| #402C16 text on black | 1.58: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
#F9F5F0
oklch(97.2% 0.008 73.7)
-
Step 100
100
#F1E8DF
oklch(93.6% 0.016 67.6)
-
Step 200
200
#E7D6C5
oklch(88.5% 0.03 67.4)
-
Step 300
300
#D9BB9C
oklch(81% 0.054 67.9)
-
Step 400
400
#C59665
oklch(70.7% 0.086 66.8)
-
Step 500
500
#B57B38
oklch(63% 0.11 67.2)
-
Step 600
600
#A16309
oklch(55.6% 0.12 67)
-
Step 700
700
#885300
oklch(49.1% 0.108 68.1)
-
Step 800
800
#704304
oklch(42.7% 0.092 66.7)
-
Step 900
900
#5B3910
oklch(37.7% 0.072 66.8)
-
Step 950
950 (this color)
#402C16
oklch(31.1% 0.045 67.4)
#402C16 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) | #332D14 | 0.026 |
| Deuteranopia (no green cones) | #373216 | 0.025 |
| Tritanopia (no blue cones) | #462727 | 0.037 |
| Achromatopsia (no color) | #303030 | 0.046 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402C16
#402C16
oklch(31.1% 0.045 67.4)
- #1D3347
#1D3347
oklch(31.3% 0.046 247.2)
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 #402C16, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.051
- Chocolate Brown #411900 ΔE 0.053
- Dark Brown #341C02 ΔE 0.058
- Onyx #343A40 ΔE 0.068
- Dark Olive #373E02 ΔE 0.068
- Jet #212529 ΔE 0.074
- Gunmetal #293241 ΔE 0.075
- Charcoal Grey #3C4142 ΔE 0.079
Use #402C16 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.