#40401C

Closest named color: Dark Olive (#373E02). oklch(36.2% 0.054 108.8), rgb(64, 64, 28).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (36%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.96:1
White text10.67:1

Values

HEX#40401C
RGBrgb(64, 64, 28)
HSLhsl(60, 39%, 18%)
OKLCHoklch(36.2% 0.054 108.8)

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 #40401C 10.67:1 AAA Lc -98.6 Preferred for body text
Black text on #40401C 1.96:1 Fails Lc 9.2 Not readable
#40401C text on white 10.67:1 AAA Lc 94.7 Preferred for body text
#40401C text on black 1.96: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

    #C2C3A5

    oklch(80.8% 0.041 108.8)

  5. Step 400

    400

    #A3A475

    oklch(70.6% 0.065 109)

  6. Step 500

    500

    #8D8E50

    oklch(63.1% 0.084 109.4)

  7. Step 600

    600

    #787733

    oklch(55.5% 0.09 108.2)

  8. Step 700

    700

    #656425

    oklch(49% 0.084 108.3)

  9. Step 800

    800

    #525221

    oklch(42.7% 0.07 109)

  10. Step 900

    900 (this color)

    #40401C

    oklch(36.2% 0.054 108.8)

  11. Step 950

    950

    #282813

    oklch(27.1% 0.035 108.5)

Export this scale for Tailwind in the Tailwind colors tool

#40401C 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)#453D190.012
Deuteranopia (no green cones)#453F1E0.010
Tritanopia (no blue cones)#443C380.049
Achromatopsia (no color)#3E3E3E0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #40401C

    #40401C

    oklch(36.2% 0.054 108.8)

  • #3D3959

    #3D3959

    oklch(36.3% 0.055 289.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40401C

    #40401C

    oklch(36.2% 0.054 108.8)

  • #4D3A1A

    #4D3A1A

    oklch(36.2% 0.054 78.7)

  • #2F4528

    #2F4528

    oklch(36.3% 0.055 138.4)

Open the analogous palette in the generator

Split complementary

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

  • #40401C

    #40401C

    oklch(36.2% 0.054 108.8)

  • #2C3E5A

    #2C3E5A

    oklch(36.2% 0.054 259)

  • #4A3450

    #4A3450

    oklch(36.2% 0.055 318.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40401C

    #40401C

    oklch(36.2% 0.054 108.8)

  • #1A4355

    #1A4355

    oklch(36.2% 0.055 229.8)

  • #533242

    #533242

    oklch(36.3% 0.053 349.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40401C

    #40401C

    oklch(36.2% 0.054 108.8)

  • #104648

    #104648

    oklch(36.1% 0.054 198.7)

  • #3D3959

    #3D3959

    oklch(36.3% 0.055 289.1)

  • #573232

    #573232

    oklch(36.3% 0.054 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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