#402102
Closest named color: Chocolate Brown (#411900). oklch(28.4% 0.064 60.6), rgb(64, 33, 2).
Aa
White text reads best on this color (14.61:1).
About this color
#402102 is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.064 and its hue 61°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.021 away. White text reads best on it, at 14.61:1.
| Hue family | Browns |
| Lightness | dark (28%) |
| Chroma | muted (0.064) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.43:1 |
| White text | 14.61:1 |
Values
| HEX | #402102 |
| RGB | rgb(64, 33, 2) |
| HSL | hsl(30, 94%, 13%) |
| OKLCH | oklch(28.4% 0.064 60.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 #402102 | 14.61:1 | AAA | Lc -104.1 | Preferred for body text |
| Black text on #402102 | 1.43:1 | Fails | Lc 0.0 | Not readable |
| #402102 text on white | 14.61:1 | AAA | Lc 101.2 | Preferred for body text |
| #402102 text on black | 1.43: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
#F5E7DC
oklch(93.6% 0.021 60.7)
-
Step 200
200
#EFD3BE
oklch(88.5% 0.042 59.1)
-
Step 300
300
#E5B68F
oklch(80.9% 0.075 61.1)
-
Step 400
400
#D78E4C
oklch(70.8% 0.121 60.9)
-
Step 500
500
#C87000
oklch(63.1% 0.147 60.3)
-
Step 600
600
#A85E00
oklch(55.6% 0.129 60.9)
-
Step 700
700
#8E4E00
oklch(49% 0.114 60.5)
-
Step 800
800
#753F00
oklch(42.6% 0.1 60.2)
-
Step 900
900
#623400
oklch(37.6% 0.088 60.4)
-
Step 950
950 (this color)
#402102
oklch(28.4% 0.064 60.6)
#402102 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) | #2B2400 | 0.046 |
| Deuteranopia (no green cones) | #322B02 | 0.041 |
| Tritanopia (no blue cones) | #471A1B | 0.045 |
| Achromatopsia (no color) | #292929 | 0.064 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402102
#402102
oklch(28.4% 0.064 60.6)
- #022D46
#022D46
oklch(28.4% 0.064 240.6)
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 #402102, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.021
- Dark Brown #341C02 ΔE 0.032
- Mahogany #4A0100 ΔE 0.065
- Deep Brown #410200 ΔE 0.068
- Pakistan Green #283618 ΔE 0.072
- Jet #212529 ΔE 0.076
- Dark Maroon #3C0008 ΔE 0.083
- Dark Olive #373E02 ΔE 0.092
Use #402102 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.