#402002
Closest named color: Chocolate Brown (#411900). oklch(28.2% 0.064 58.8), rgb(64, 32, 2).
Aa
White text reads best on this color (14.73:1).
About this color
#402002 is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.064 and its hue 59°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.018 away. White text reads best on it, at 14.73:1.
| Hue family | Browns |
| Lightness | dark (28%) |
| Chroma | muted (0.064) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.42:1 |
| White text | 14.73:1 |
Values
| HEX | #402002 |
| RGB | rgb(64, 32, 2) |
| HSL | hsl(29, 94%, 13%) |
| OKLCH | oklch(28.2% 0.064 58.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 #402002 | 14.73:1 | AAA | Lc -104.2 | Preferred for body text |
| Black text on #402002 | 1.42:1 | Fails | Lc 0.0 | Not readable |
| #402002 text on white | 14.73:1 | AAA | Lc 101.3 | Preferred for body text |
| #402002 text on black | 1.42: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
#FBF4EF
oklch(97.1% 0.01 58.2)
-
Step 100
100
#F6E7DC
oklch(93.7% 0.022 58.8)
-
Step 200
200
#EFD3BE
oklch(88.5% 0.042 59.1)
-
Step 300
300
#E6B590
oklch(80.8% 0.076 58.5)
-
Step 400
400
#D88C4D
oklch(70.6% 0.122 58.6)
-
Step 500
500
#CA6F00
oklch(63.2% 0.15 59.1)
-
Step 600
600
#AA5C00
oklch(55.5% 0.132 58.7)
-
Step 700
700
#904D00
oklch(49.1% 0.117 58.7)
-
Step 800
800
#763E00
oklch(42.5% 0.101 58.7)
-
Step 900
900
#633300
oklch(37.6% 0.089 58.6)
-
Step 950
950 (this color)
#402002
oklch(28.2% 0.064 58.8)
#402002 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) | #2A2400 | 0.048 |
| Deuteranopia (no green cones) | #312B02 | 0.044 |
| Tritanopia (no blue cones) | #47191A | 0.044 |
| Achromatopsia (no color) | #282828 | 0.064 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402002
#402002
oklch(28.2% 0.064 58.8)
- #002D45
#002D45
oklch(28.3% 0.063 238.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 #402002, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.018
- Dark Brown #341C02 ΔE 0.031
- Mahogany #4A0100 ΔE 0.062
- Deep Brown #410200 ΔE 0.065
- Pakistan Green #283618 ΔE 0.075
- Jet #212529 ΔE 0.076
- Dark Maroon #3C0008 ΔE 0.080
- Dark #1B2431 ΔE 0.094
Use #402002 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.