#402A0D

Closest named color: Chocolate Brown (#411900). oklch(30.5% 0.053 70.6), rgb(64, 42, 13).

Aa

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

About this color

#402A0D is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.053 and its hue 71°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.046 away. White text reads best on it, at 13.50:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.053)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.55:1
White text13.50:1

Values

HEX#402A0D
RGBrgb(64, 42, 13)
HSLhsl(34, 66%, 15%)
OKLCHoklch(30.5% 0.053 70.6)

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 #402A0D 13.50:1 AAA Lc -103.0 Preferred for body text
Black text on #402A0D 1.55:1 Fails Lc 0.0 Not readable
#402A0D text on white 13.50:1 AAA Lc 99.9 Preferred for body text
#402A0D text on black 1.55: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

    #F9F5EF

    oklch(97.2% 0.009 78.3)

  2. Step 100

    100

    #F2E8DD

    oklch(93.6% 0.018 70.2)

  3. Step 200

    200

    #E8D6C1

    oklch(88.5% 0.035 71.6)

  4. Step 300

    300

    #DBBA94

    oklch(80.8% 0.063 70.7)

  5. Step 400

    400

    #C99556

    oklch(70.7% 0.102 70.2)

  6. Step 500

    500

    #BA7A18

    oklch(63.2% 0.129 70.8)

  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

    #6E4500

    oklch(42.8% 0.092 71.2)

  10. Step 900

    900

    #5C3900

    oklch(37.7% 0.081 71.3)

  11. Step 950

    950 (this color)

    #402A0D

    oklch(30.5% 0.053 70.6)

Export this scale for Tailwind in the Tailwind colors tool

#402A0D 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)#322B0A0.029
Deuteranopia (no green cones)#37300E0.025
Tritanopia (no blue cones)#4625240.043
Achromatopsia (no color)#2E2E2E0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #402A0D

    #402A0D

    oklch(30.5% 0.053 70.6)

  • #193149

    #193149

    oklch(30.6% 0.053 249.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402A0D

    #402A0D

    oklch(30.5% 0.053 70.6)

  • #462519

    #462519

    oklch(30.5% 0.054 40.6)

  • #35300B

    #35300B

    oklch(30.6% 0.054 101.5)

Open the analogous palette in the generator

Split complementary

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

  • #402A0D

    #402A0D

    oklch(30.5% 0.053 70.6)

  • #043542

    #043542

    oklch(30.5% 0.053 221)

  • #2A2C49

    #2A2C49

    oklch(30.6% 0.052 279.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402A0D

    #402A0D

    oklch(30.5% 0.053 70.6)

  • #003735

    #003735

    oklch(30.4% 0.052 190.8)

  • #382743

    #382743

    oklch(30.6% 0.054 311.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402A0D

    #402A0D

    oklch(30.5% 0.053 70.6)

  • #123726

    #123726

    oklch(30.4% 0.053 160.8)

  • #193149

    #193149

    oklch(30.6% 0.053 249.9)

  • #412437

    #412437

    oklch(30.5% 0.053 341.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #402A0D 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.