#402708
Closest named color: Chocolate Brown (#411900). oklch(29.8% 0.057 67.5), rgb(64, 39, 8).
Aa
White text reads best on this color (13.89:1).
About this color
#402708 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.057 and its hue 68°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.038 away. White text reads best on it, at 13.89:1.
| Hue family | Browns |
| Lightness | dark (30%) |
| Chroma | muted (0.057) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.51:1 |
| White text | 13.89:1 |
Values
| HEX | #402708 |
| RGB | rgb(64, 39, 8) |
| HSL | hsl(33, 78%, 14%) |
| OKLCH | oklch(29.8% 0.057 67.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 #402708 | 13.89:1 | AAA | Lc -103.4 | Preferred for body text |
| Black text on #402708 | 1.51:1 | Fails | Lc 0.0 | Not readable |
| #402708 text on white | 13.89:1 | AAA | Lc 100.3 | Preferred for body text |
| #402708 text on black | 1.51: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
#FAF4EF
oklch(97% 0.009 62.6)
-
Step 100
100
#F3E8DC
oklch(93.6% 0.02 70)
-
Step 200
200
#EBD5BF
oklch(88.5% 0.038 67.3)
-
Step 300
300
#DFB992
oklch(81% 0.068 67.4)
-
Step 400
400
#CD9351
oklch(70.6% 0.109 68)
-
Step 500
500
#C07601
oklch(63.1% 0.139 67.2)
-
Step 600
600
#A26300
oklch(55.7% 0.123 67.4)
-
Step 700
700
#885300
oklch(49.1% 0.108 68.1)
-
Step 800
800
#704300
oklch(42.6% 0.094 67.6)
-
Step 900
900
#5E3700
oklch(37.6% 0.083 67)
-
Step 950
950 (this color)
#402708
oklch(29.8% 0.057 67.5)
#402708 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) | #2F2905 | 0.036 |
| Deuteranopia (no green cones) | #352F09 | 0.032 |
| Tritanopia (no blue cones) | #472121 | 0.046 |
| Achromatopsia (no color) | #2C2C2C | 0.057 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402708
#402708
oklch(29.8% 0.057 67.5)
- #132F48
#132F48
oklch(29.7% 0.057 247.9)
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 #402708, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.038
- Dark Brown #341C02 ΔE 0.045
- Pakistan Green #283618 ΔE 0.059
- Jet #212529 ΔE 0.076
- Dark Olive #373E02 ΔE 0.076
- Mahogany #4A0100 ΔE 0.080
- Deep Brown #410200 ΔE 0.085
- Onyx #343A40 ΔE 0.085
Use #402708 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.