#402008

Closest named color: Chocolate Brown (#411900). oklch(28.3% 0.06 53.9), rgb(64, 32, 8).

Aa

White text reads best on this color (14.70:1).

About this color

#402008 is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.060 and its hue 54°. 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.70:1.

Hue familyBrowns
Lightnessdark (28%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.42:1
White text14.70:1

Values

HEX#402008
RGBrgb(64, 32, 8)
HSLhsl(26, 78%, 14%)
OKLCHoklch(28.3% 0.06 53.9)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #402008 14.70:1 AAA Lc -104.2 Preferred for body text
Black text on #402008 1.42:1 Fails Lc 0.0 Not readable
#402008 text on white 14.70:1 AAA Lc 101.3 Preferred for body text
#402008 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.

  1. Step 50

    50

    #FBF4F0

    oklch(97.1% 0.009 52.1)

  2. Step 100

    100

    #F6E7DD

    oklch(93.7% 0.021 56.1)

  3. Step 200

    200

    #EFD3C1

    oklch(88.5% 0.04 54.8)

  4. Step 300

    300

    #E6B595

    oklch(80.9% 0.072 54.6)

  5. Step 400

    400

    #D88C59

    oklch(70.7% 0.114 53.7)

  6. Step 500

    500

    #CC6D1F

    oklch(63.2% 0.146 53.9)

  7. Step 600

    600

    #B05800

    oklch(55.7% 0.14 54)

  8. Step 700

    700

    #944900

    oklch(49% 0.123 54)

  9. Step 800

    800

    #7A3B00

    oklch(42.6% 0.107 54)

  10. Step 900

    900

    #673100

    oklch(37.8% 0.095 54.2)

  11. Step 950

    950 (this color)

    #402008

    oklch(28.3% 0.06 53.9)

Export this scale for Tailwind in the Tailwind colors tool

#402008 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2924050.050
Deuteranopia (no green cones)#312B080.044
Tritanopia (no blue cones)#47191B0.039
Achromatopsia (no color)#2828280.061

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #402008

    #402008

    oklch(28.3% 0.06 53.9)

  • #002E42

    #002E42

    oklch(28.4% 0.059 233.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402008

    #402008

    oklch(28.3% 0.06 53.9)

  • #431C1B

    #431C1B

    oklch(28.3% 0.061 23.2)

  • #372600

    #372600

    oklch(28.2% 0.058 82.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #402008

    #402008

    oklch(28.3% 0.06 53.9)

  • #003034

    #003034

    oklch(28.2% 0.048 203.6)

  • #1A2847

    #1A2847

    oklch(28.2% 0.06 264.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402008

    #402008

    oklch(28.3% 0.06 53.9)

  • #003227

    #003227

    oklch(28.3% 0.054 173.2)

  • #2B2344

    #2B2344

    oklch(28.2% 0.06 293.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402008

    #402008

    oklch(28.3% 0.06 53.9)

  • #153115

    #153115

    oklch(28.3% 0.06 143.8)

  • #002E42

    #002E42

    oklch(28.4% 0.059 233.4)

  • #381E3A

    #381E3A

    oklch(28.2% 0.061 324.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #402008, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #402008 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.