#402B06
Closest named color: Pakistan Green (#283618). oklch(30.7% 0.059 76.8), rgb(64, 43, 6).
Aa
White text reads best on this color (13.40:1).
About this color
#402B06 is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.059 and its hue 77°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.050 away. White text reads best on it, at 13.40:1.
| Hue family | Browns |
| Lightness | dark (31%) |
| Chroma | muted (0.059) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.56:1 |
| White text | 13.40:1 |
Values
| HEX | #402B06 |
| RGB | rgb(64, 43, 6) |
| HSL | hsl(38, 83%, 14%) |
| OKLCH | oklch(30.7% 0.059 76.8) |
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 #402B06 | 13.40:1 | AAA | Lc -102.9 | Preferred for body text |
| Black text on #402B06 | 1.56:1 | Fails | Lc 0.0 | Not readable |
| #402B06 text on white | 13.40:1 | AAA | Lc 99.7 | Preferred for body text |
| #402B06 text on black | 1.56: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
#F9F5EF
oklch(97.2% 0.009 78.3)
-
Step 100
100
#F2E8DB
oklch(93.5% 0.02 74.7)
-
Step 200
200
#E8D6BD
oklch(88.4% 0.039 76.2)
-
Step 300
300
#DABB8E
oklch(80.8% 0.069 76.8)
-
Step 400
400
#C8974A
oklch(70.8% 0.111 76.5)
-
Step 500
500
#B67D00
oklch(63.2% 0.132 76.8)
-
Step 600
600
#996800
oklch(55.5% 0.116 76.4)
-
Step 700
700
#815700
oklch(49% 0.103 76.4)
-
Step 800
800
#6A4700
oklch(42.6% 0.089 76.7)
-
Step 900
900
#593B00
oklch(37.8% 0.079 76.7)
-
Step 950
950 (this color)
#402B06
oklch(30.7% 0.059 76.8)
#402B06 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) | #332C02 | 0.027 |
| Deuteranopia (no green cones) | #383107 | 0.023 |
| Tritanopia (no blue cones) | #472524 | 0.051 |
| Achromatopsia (no color) | #2F2F2F | 0.059 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402B06
#402B06
oklch(30.7% 0.059 76.8)
- #1B304D
#1B304D
oklch(30.7% 0.059 256.7)
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 #402B06, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.050
- Chocolate Brown #411900 ΔE 0.050
- Dark Brown #341C02 ΔE 0.055
- Dark Olive #373E02 ΔE 0.063
- Onyx #343A40 ΔE 0.081
- Jet #212529 ΔE 0.081
- Gunmetal #293241 ΔE 0.089
- Very Dark Green #062E03 ΔE 0.089
Use #402B06 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.