#403312
Closest named color: Pakistan Green (#283618). oklch(32.8% 0.052 87.6), rgb(64, 51, 18).
Aa
White text reads best on this color (12.35:1).
About this color
#403312 is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.052 and its hue 88°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.041 away. White text reads best on it, at 12.35:1.
| Hue family | Browns |
| Lightness | dark (33%) |
| Chroma | muted (0.052) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.70:1 |
| White text | 12.35:1 |
Values
| HEX | #403312 |
| RGB | rgb(64, 51, 18) |
| HSL | hsl(43, 56%, 16%) |
| OKLCH | oklch(32.8% 0.052 87.6) |
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 #403312 | 12.35:1 | AAA | Lc -101.5 | Preferred for body text |
| Black text on #403312 | 1.70:1 | Fails | Lc 0.0 | Not readable |
| #403312 text on white | 12.35:1 | AAA | Lc 98.1 | Preferred for body text |
| #403312 text on black | 1.70: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
#F7F5F2
oklch(97.1% 0.005 78.3)
-
Step 100
100
#EDEAE2
oklch(93.7% 0.011 89.7)
-
Step 200
200
#DFD9C9
oklch(88.6% 0.023 89.8)
-
Step 300
300
#CBC0A5
oklch(81% 0.039 88.5)
-
Step 400
400
#B19F74
oklch(70.8% 0.062 87.9)
-
Step 500
500
#9E874F
oklch(63.2% 0.08 87.8)
-
Step 600
600
#897032
oklch(55.6% 0.086 87.3)
-
Step 700
700
#745E24
oklch(49.2% 0.081 88.1)
-
Step 800
800
#5E4D20
oklch(42.8% 0.066 88.6)
-
Step 900
900 (this color)
#403312
oklch(32.8% 0.052 87.6)
-
Step 950
950
#2D2613
oklch(27.1% 0.033 89.9)
#403312 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) | #39330E | 0.015 |
| Deuteranopia (no green cones) | #3D3613 | 0.010 |
| Tritanopia (no blue cones) | #462E2C | 0.048 |
| Achromatopsia (no color) | #353535 | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #403312
#403312
oklch(32.8% 0.052 87.6)
- #293450
#293450
oklch(32.9% 0.052 267.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 #403312, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.041
- Dark Olive #373E02 ΔE 0.045
- Onyx #343A40 ΔE 0.067
- Charcoal Grey #3C4142 ΔE 0.071
- Chocolate Brown #411900 ΔE 0.073
- Dark Brown #341C02 ΔE 0.077
- Hunter Green #0B4008 ΔE 0.082
- Gunmetal #293241 ΔE 0.082
Use #403312 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.