#402107
Closest named color: Chocolate Brown (#411900). oklch(28.5% 0.06 56.5), rgb(64, 33, 7).
Aa
White text reads best on this color (14.59:1).
About this color
#402107 is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.060 and its hue 57°. 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.59:1.
| Hue family | Browns |
| Lightness | dark (28%) |
| Chroma | muted (0.060) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.43:1 |
| White text | 14.59:1 |
Values
| HEX | #402107 |
| RGB | rgb(64, 33, 7) |
| HSL | hsl(27, 80%, 14%) |
| OKLCH | oklch(28.5% 0.06 56.5) |
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 #402107 | 14.59:1 | AAA | Lc -104.1 | Preferred for body text |
| Black text on #402107 | 1.43:1 | Fails | Lc 0.0 | Not readable |
| #402107 text on white | 14.59:1 | AAA | Lc 101.2 | Preferred for body text |
| #402107 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
#F5E7DD
oklch(93.6% 0.02 58.1)
-
Step 200
200
#EED3C0
oklch(88.4% 0.04 57.3)
-
Step 300
300
#E5B594
oklch(80.8% 0.072 56)
-
Step 400
400
#D68D56
oklch(70.6% 0.114 56.6)
-
Step 500
500
#CA6E17
oklch(63.1% 0.146 56.4)
-
Step 600
600
#AD5A00
oklch(55.6% 0.136 56.3)
-
Step 700
700
#924B00
oklch(49.1% 0.12 56.3)
-
Step 800
800
#783D00
oklch(42.7% 0.104 56.7)
-
Step 900
900
#653200
oklch(37.7% 0.092 56.3)
-
Step 950
950 (this color)
#402107
oklch(28.5% 0.06 56.5)
#402107 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) | #2A2404 | 0.048 |
| Deuteranopia (no green cones) | #322C07 | 0.043 |
| Tritanopia (no blue cones) | #471A1C | 0.042 |
| Achromatopsia (no color) | #292929 | 0.061 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402107
#402107
oklch(28.5% 0.06 56.5)
- #012E44
#012E44
oklch(28.5% 0.061 236.3)
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 #402107, 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.033
- Mahogany #4A0100 ΔE 0.063
- Deep Brown #410200 ΔE 0.067
- Pakistan Green #283618 ΔE 0.073
- Jet #212529 ΔE 0.073
- Dark Maroon #3C0008 ΔE 0.081
- Dark #1B2431 ΔE 0.091
Use #402107 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.