#402B17

Closest named color: Chocolate Brown (#411900). oklch(30.9% 0.045 63.5), rgb(64, 43, 23).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.57:1
White text13.32:1

Values

HEX#402B17
RGBrgb(64, 43, 23)
HSLhsl(29, 47%, 17%)
OKLCHoklch(30.9% 0.045 63.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #402B17 13.32:1 AAA Lc -102.8 Preferred for body text
Black text on #402B17 1.57:1 Fails Lc 0.0 Not readable
#402B17 text on white 13.32:1 AAA Lc 99.6 Preferred for body text
#402B17 text on black 1.57: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

    #F9F4F1

    oklch(97% 0.007 53.4)

  2. Step 100

    100

    #F2E8E0

    oklch(93.7% 0.015 61.3)

  3. Step 200

    200

    #E8D5C6

    oklch(88.4% 0.029 60.7)

  4. Step 300

    300

    #DABA9E

    oklch(80.9% 0.053 63.2)

  5. Step 400

    400

    #C69568

    oklch(70.6% 0.084 63.3)

  6. Step 500

    500

    #B77A3D

    oklch(63.1% 0.108 63.5)

  7. Step 600

    600

    #A26217

    oklch(55.6% 0.117 63.7)

  8. Step 700

    700

    #8B5106

    oklch(49.2% 0.109 63.7)

  9. Step 800

    800

    #71420C

    oklch(42.6% 0.091 63)

  10. Step 900

    900

    #5B3814

    oklch(37.5% 0.07 63.2)

  11. Step 950

    950 (this color)

    #402B17

    oklch(30.9% 0.045 63.5)

Export this scale for Tailwind in the Tailwind colors tool

#402B17 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)#322D150.029
Deuteranopia (no green cones)#3731170.025
Tritanopia (no blue cones)#4626260.035
Achromatopsia (no color)#2F2F2F0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #402B17

    #402B17

    oklch(30.9% 0.045 63.5)

  • #1B3345

    #1B3345

    oklch(31% 0.044 242.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402B17

    #402B17

    oklch(30.9% 0.045 63.5)

  • #442821

    #442821

    oklch(31% 0.044 34.8)

  • #383014

    #383014

    oklch(31.1% 0.045 93.7)

Open the analogous palette in the generator

Split complementary

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

  • #402B17

    #402B17

    oklch(30.9% 0.045 63.5)

  • #0F363E

    #0F363E

    oklch(31% 0.045 213.8)

  • #292E47

    #292E47

    oklch(30.8% 0.046 274.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402B17

    #402B17

    oklch(30.9% 0.045 63.5)

  • #103732

    #103732

    oklch(30.8% 0.044 183.5)

  • #352A43

    #352A43

    oklch(30.9% 0.046 304)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402B17

    #402B17

    oklch(30.9% 0.045 63.5)

  • #1D3725

    #1D3725

    oklch(31% 0.046 152.8)

  • #1B3345

    #1B3345

    oklch(31% 0.044 242.5)

  • #3E273A

    #3E273A

    oklch(30.9% 0.046 333)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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