#40401E

Closest named color: Dark Olive (#373E02). oklch(36.3% 0.052 108.7), rgb(64, 64, 30).

Aa

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

About this color

#40401E is a dark, muted brown. In OKLCH its lightness is 36%, its chroma 0.052 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.032 away. White text reads best on it, at 10.65:1.

Hue familyBrowns
Lightnessdark (36%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.97:1
White text10.65:1

Values

HEX#40401E
RGBrgb(64, 64, 30)
HSLhsl(60, 36%, 18%)
OKLCHoklch(36.3% 0.052 108.7)

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 #40401E 10.65:1 AAA Lc -98.6 Preferred for body text
Black text on #40401E 1.97:1 Fails Lc 9.2 Not readable
#40401E text on white 10.65:1 AAA Lc 94.7 Preferred for body text
#40401E text on black 1.97:1 Fails Lc -7.9 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 900.

  1. Step 50

    50

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #DADBCA

    oklch(88.6% 0.023 109.6)

  4. Step 300

    300

    #C2C3A6

    oklch(80.9% 0.04 108.9)

  5. Step 400

    400

    #A3A477

    oklch(70.6% 0.062 109)

  6. Step 500

    500

    #8D8E53

    oklch(63.2% 0.08 109.3)

  7. Step 600

    600

    #787737

    oklch(55.6% 0.086 108.1)

  8. Step 700

    700

    #656429

    oklch(49.1% 0.08 108.1)

  9. Step 800

    800

    #525223

    oklch(42.7% 0.067 108.9)

  10. Step 900

    900 (this color)

    #40401E

    oklch(36.3% 0.052 108.7)

  11. Step 950

    950

    #282814

    oklch(27.1% 0.034 108.5)

Export this scale for Tailwind in the Tailwind colors tool

#40401E 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)#453E1B0.010
Deuteranopia (no green cones)#453F200.010
Tritanopia (no blue cones)#443C380.047
Achromatopsia (no color)#3E3E3E0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #40401E

    #40401E

    oklch(36.3% 0.052 108.7)

  • #3D3958

    #3D3958

    oklch(36.3% 0.053 289.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40401E

    #40401E

    oklch(36.3% 0.052 108.7)

  • #4D3A1C

    #4D3A1C

    oklch(36.2% 0.052 77.3)

  • #304429

    #304429

    oklch(36.2% 0.052 137.8)

Open the analogous palette in the generator

Split complementary

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

  • #40401E

    #40401E

    oklch(36.3% 0.052 108.7)

  • #2D3E59

    #2D3E59

    oklch(36.2% 0.052 259.4)

  • #4A354F

    #4A354F

    oklch(36.3% 0.052 319.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40401E

    #40401E

    oklch(36.3% 0.052 108.7)

  • #1C4354

    #1C4354

    oklch(36.3% 0.053 229.2)

  • #523242

    #523242

    oklch(36.2% 0.052 348.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40401E

    #40401E

    oklch(36.3% 0.052 108.7)

  • #144648

    #144648

    oklch(36.2% 0.052 198.9)

  • #3D3958

    #3D3958

    oklch(36.3% 0.053 289.4)

  • #563233

    #563233

    oklch(36.2% 0.052 18.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40401E 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.