#40400D

Closest named color: Dark Olive (#373E02). oklch(36.1% 0.069 109.4), rgb(64, 64, 13).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (36%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.95:1
White text10.72:1

Values

HEX#40400D
RGBrgb(64, 64, 13)
HSLhsl(60, 66%, 15%)
OKLCHoklch(36.1% 0.069 109.4)

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 #40400D 10.72:1 AAA Lc -98.7 Preferred for body text
Black text on #40400D 1.95:1 Fails Lc 9.1 Not readable
#40400D text on white 10.72:1 AAA Lc 94.8 Preferred for body text
#40400D text on black 1.95:1 Fails Lc -7.8 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC6

    oklch(88.5% 0.028 109.2)

  4. Step 300

    300

    #C2C49D

    oklch(80.9% 0.053 109.9)

  5. Step 400

    400

    #A4A567

    oklch(70.6% 0.083 109.1)

  6. Step 500

    500

    #8E8F3B

    oklch(63.2% 0.107 109.7)

  7. Step 600

    600

    #797811

    oklch(55.6% 0.115 109)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #535308

    oklch(42.9% 0.089 109.6)

  10. Step 900

    900 (this color)

    #40400D

    oklch(36.1% 0.069 109.4)

  11. Step 950

    950

    #28280D

    oklch(27% 0.043 109)

Export this scale for Tailwind in the Tailwind colors tool

#40400D 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)#463D050.013
Deuteranopia (no green cones)#463F110.012
Tritanopia (no blue cones)#453B360.063
Achromatopsia (no color)#3E3E3E0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #40400D

    #40400D

    oklch(36.1% 0.069 109.4)

  • #3D365F

    #3D365F

    oklch(36% 0.07 290.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40400D

    #40400D

    oklch(36.1% 0.069 109.4)

  • #503808

    #503808

    oklch(35.9% 0.069 79.4)

  • #294621

    #294621

    oklch(36.1% 0.07 139.2)

Open the analogous palette in the generator

Split complementary

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

  • #40400D

    #40400D

    oklch(36.1% 0.069 109.4)

  • #273D61

    #273D61

    oklch(36% 0.069 259.8)

  • #4D3154

    #4D3154

    oklch(36.1% 0.068 319.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40400D

    #40400D

    oklch(36.1% 0.069 109.4)

  • #04445A

    #04445A

    oklch(36.2% 0.069 228.4)

  • #582D43

    #582D43

    oklch(36.1% 0.07 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40400D

    #40400D

    oklch(36.1% 0.069 109.4)

  • #00474A

    #00474A

    oklch(36.2% 0.061 199.6)

  • #3D365F

    #3D365F

    oklch(36% 0.07 290.3)

  • #5C2D2E

    #5C2D2E

    oklch(36% 0.069 19.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40400D 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.