#402807

Closest named color: Chocolate Brown (#411900). oklch(30% 0.058 70.2), rgb(64, 40, 7).

Aa

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

About this color

#402807 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.058 and its hue 70°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.041 away. White text reads best on it, at 13.77:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.52:1
White text13.77:1

Values

HEX#402807
RGBrgb(64, 40, 7)
HSLhsl(35, 80%, 14%)
OKLCHoklch(30% 0.058 70.2)

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 #402807 13.77:1 AAA Lc -103.3 Preferred for body text
Black text on #402807 1.52:1 Fails Lc 0.0 Not readable
#402807 text on white 13.77:1 AAA Lc 100.2 Preferred for body text
#402807 text on black 1.52: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

    #FAF4EF

    oklch(97% 0.009 62.6)

  2. Step 100

    100

    #F3E8DC

    oklch(93.6% 0.02 70)

  3. Step 200

    200

    #EAD5BF

    oklch(88.4% 0.038 68.6)

  4. Step 300

    300

    #DEBA91

    oklch(81% 0.068 70.3)

  5. Step 400

    400

    #CC944F

    oklch(70.7% 0.109 70.1)

  6. Step 500

    500

    #BD7800

    oklch(63.1% 0.137 69.9)

  7. Step 600

    600

    #9F6500

    oklch(55.7% 0.12 70.6)

  8. Step 700

    700

    #865400

    oklch(49.1% 0.106 70.2)

  9. Step 800

    800

    #6E4400

    oklch(42.6% 0.092 70.1)

  10. Step 900

    900

    #5C3900

    oklch(37.7% 0.081 71.3)

  11. Step 950

    950 (this color)

    #402807

    oklch(30% 0.058 70.2)

Export this scale for Tailwind in the Tailwind colors tool

#402807 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)#302A030.034
Deuteranopia (no green cones)#362F080.028
Tritanopia (no blue cones)#4722210.046
Achromatopsia (no color)#2D2D2D0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #402807

    #402807

    oklch(30% 0.058 70.2)

  • #152F4A

    #152F4A

    oklch(29.9% 0.059 251.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402807

    #402807

    oklch(30% 0.058 70.2)

  • #462316

    #462316

    oklch(30.1% 0.058 40.8)

  • #352E05

    #352E05

    oklch(30% 0.057 99.2)

Open the analogous palette in the generator

Split complementary

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

  • #402807

    #402807

    oklch(30% 0.058 70.2)

  • #003441

    #003441

    oklch(30.1% 0.055 220.3)

  • #282A4A

    #282A4A

    oklch(30% 0.058 279.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402807

    #402807

    oklch(30% 0.058 70.2)

  • #003634

    #003634

    oklch(30.1% 0.052 190.8)

  • #372543

    #372543

    oklch(30% 0.057 310.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402807

    #402807

    oklch(30% 0.058 70.2)

  • #0C3724

    #0C3724

    oklch(30.2% 0.058 160.3)

  • #152F4A

    #152F4A

    oklch(29.9% 0.059 251.2)

  • #412137

    #412137

    oklch(30% 0.059 339.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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