#402701
Closest named color: Chocolate Brown (#411900). oklch(29.7% 0.063 72), rgb(64, 39, 1).
Aa
White text reads best on this color (13.91:1).
About this color
#402701 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.063 and its hue 72°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.039 away. White text reads best on it, at 13.91:1.
| Hue family | Browns |
| Lightness | dark (30%) |
| Chroma | muted (0.063) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.50:1 |
| White text | 13.91:1 |
Values
| HEX | #402701 |
| RGB | rgb(64, 39, 1) |
| HSL | hsl(36, 97%, 13%) |
| OKLCH | oklch(29.7% 0.063 72) |
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 #402701 | 13.91:1 | AAA | Lc -103.4 | Preferred for body text |
| Black text on #402701 | 1.50:1 | Fails | Lc 0.0 | Not readable |
| #402701 text on white | 13.91:1 | AAA | Lc 100.4 | Preferred for body text |
| #402701 text on black | 1.50: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
#FAF5EE
oklch(97.2% 0.011 76.6)
-
Step 100
100
#F3E8DB
oklch(93.6% 0.021 72.1)
-
Step 200
200
#EBD5BC
oklch(88.5% 0.041 70.8)
-
Step 300
300
#DFB98C
oklch(80.8% 0.074 71.2)
-
Step 400
400
#CE9444
oklch(70.8% 0.119 72.4)
-
Step 500
500
#BB7A00
oklch(63.2% 0.135 72.2)
-
Step 600
600
#9D6600
oklch(55.6% 0.119 72.5)
-
Step 700
700
#855500
oklch(49.1% 0.105 71.8)
-
Step 800
800
#6D4500
oklch(42.6% 0.091 72)
-
Step 900
900
#5B3900
oklch(37.6% 0.08 72.2)
-
Step 950
950 (this color)
#402701
oklch(29.7% 0.063 72)
#402701 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) | #302900 | 0.033 |
| Deuteranopia (no green cones) | #352F02 | 0.032 |
| Tritanopia (no blue cones) | #472120 | 0.051 |
| Achromatopsia (no color) | #2C2C2C | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402701
#402701
oklch(29.7% 0.063 72)
- #132E4B
#132E4B
oklch(29.6% 0.062 252.1)
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 #402701, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.039
- Dark Brown #341C02 ΔE 0.045
- Pakistan Green #283618 ΔE 0.058
- Dark Olive #373E02 ΔE 0.073
- Jet #212529 ΔE 0.080
- Mahogany #4A0100 ΔE 0.082
- Deep Brown #410200 ΔE 0.086
- Onyx #343A40 ΔE 0.090
Use #402701 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.