#402B0E

Closest named color: Chocolate Brown (#411900). oklch(30.8% 0.053 72.2), rgb(64, 43, 14).

Aa

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

About this color

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

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

Values

HEX#402B0E
RGBrgb(64, 43, 14)
HSLhsl(35, 64%, 15%)
OKLCHoklch(30.8% 0.053 72.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 #402B0E 13.37:1 AAA Lc -102.9 Preferred for body text
Black text on #402B0E 1.56:1 Fails Lc 0.0 Not readable
#402B0E text on white 13.37:1 AAA Lc 99.7 Preferred for body text
#402B0E text on black 1.56: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

    #DABB95

    oklch(80.9% 0.062 72.4)

  5. Step 400

    400

    #C79657

    oklch(70.6% 0.1 72)

  6. Step 500

    500

    #B87B19

    oklch(63.1% 0.128 72.3)

  7. Step 600

    600

    #9D6600

    oklch(55.6% 0.119 72.5)

  8. Step 700

    700

    #855500

    oklch(49.1% 0.105 71.8)

  9. Step 800

    800

    #6D4500

    oklch(42.6% 0.091 72)

  10. Step 900

    900

    #5B3900

    oklch(37.6% 0.08 72.2)

  11. Step 950

    950 (this color)

    #402B0E

    oklch(30.8% 0.053 72.2)

Export this scale for Tailwind in the Tailwind colors tool

#402B0E 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)#322C0B0.029
Deuteranopia (no green cones)#37310F0.025
Tritanopia (no blue cones)#4626250.043
Achromatopsia (no color)#2F2F2F0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #402B0E

    #402B0E

    oklch(30.8% 0.053 72.2)

  • #1B314A

    #1B314A

    oklch(30.8% 0.053 252.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402B0E

    #402B0E

    oklch(30.8% 0.053 72.2)

  • #46261A

    #46261A

    oklch(30.7% 0.053 41.1)

  • #35310D

    #35310D

    oklch(30.9% 0.053 103)

Open the analogous palette in the generator

Split complementary

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

  • #402B0E

    #402B0E

    oklch(30.8% 0.053 72.2)

  • #073543

    #073543

    oklch(30.7% 0.053 223.6)

  • #2C2C4A

    #2C2C4A

    oklch(30.8% 0.053 282.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402B0E

    #402B0E

    oklch(30.8% 0.053 72.2)

  • #003837

    #003837

    oklch(30.8% 0.053 192.8)

  • #392843

    #392843

    oklch(30.9% 0.052 312.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402B0E

    #402B0E

    oklch(30.8% 0.053 72.2)

  • #123828

    #123828

    oklch(30.8% 0.052 162.8)

  • #1B314A

    #1B314A

    oklch(30.8% 0.053 252.7)

  • #422537

    #422537

    oklch(30.9% 0.052 342.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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