#404012

Closest named color: Dark Olive (#373E02). oklch(36.1% 0.065 109.3), rgb(64, 64, 18).

Aa

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

About this color

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

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

Values

HEX#404012
RGBrgb(64, 64, 18)
HSLhsl(60, 56%, 16%)
OKLCHoklch(36.1% 0.065 109.3)

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 #404012 10.71:1 AAA Lc -98.7 Preferred for body text
Black text on #404012 1.96:1 Fails Lc 9.1 Not readable
#404012 text on white 10.71:1 AAA Lc 94.8 Preferred for body text
#404012 text on black 1.96: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

    #DADBC7

    oklch(88.5% 0.027 109.3)

  4. Step 300

    300

    #C2C4A0

    oklch(80.9% 0.049 110.1)

  5. Step 400

    400

    #A4A56B

    oklch(70.7% 0.078 109.1)

  6. Step 500

    500

    #8E8E41

    oklch(63% 0.1 109)

  7. Step 600

    600

    #78781E

    oklch(55.6% 0.109 109.5)

  8. Step 700

    700

    #65650E

    oklch(49.1% 0.102 109.6)

  9. Step 800

    800

    #535211

    oklch(42.7% 0.083 108.6)

  10. Step 900

    900 (this color)

    #404012

    oklch(36.1% 0.065 109.3)

  11. Step 950

    950

    #28280F

    oklch(27% 0.041 108.8)

Export this scale for Tailwind in the Tailwind colors tool

#404012 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)#463D0C0.013
Deuteranopia (no green cones)#463F150.012
Tritanopia (no blue cones)#453C360.057
Achromatopsia (no color)#3E3E3E0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #404012

    #404012

    oklch(36.1% 0.065 109.3)

  • #3D375D

    #3D375D

    oklch(36.1% 0.065 290)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404012

    #404012

    oklch(36.1% 0.065 109.3)

  • #50390E

    #50390E

    oklch(36.2% 0.066 79)

  • #2B4623

    #2B4623

    oklch(36.2% 0.066 138.8)

Open the analogous palette in the generator

Split complementary

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

  • #404012

    #404012

    oklch(36.1% 0.065 109.3)

  • #283D5F

    #283D5F

    oklch(35.9% 0.065 259.7)

  • #4C3253

    #4C3253

    oklch(36.2% 0.064 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404012

    #404012

    oklch(36.1% 0.065 109.3)

  • #0C4359

    #0C4359

    oklch(36% 0.066 230.4)

  • #572E43

    #572E43

    oklch(36.1% 0.067 348.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404012

    #404012

    oklch(36.1% 0.065 109.3)

  • #00474A

    #00474A

    oklch(36.2% 0.061 199.6)

  • #3D375D

    #3D375D

    oklch(36.1% 0.065 290)

  • #5B2E2F

    #5B2E2F

    oklch(36.1% 0.066 19.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404012 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.