#404812

Closest named color: Dark Olive (#373E02). oklch(38.2% 0.076 117.4), rgb(64, 72, 18).

Aa

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

About this color

#404812 is a dark, moderately saturated brown. In OKLCH its lightness is 38%, its chroma 0.076 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.037 away. White text reads best on it, at 9.75:1.

Hue familyBrowns
Lightnessdark (38%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text2.15:1
White text9.75:1

Values

HEX#404812
RGBrgb(64, 72, 18)
HSLhsl(69, 60%, 18%)
OKLCHoklch(38.2% 0.076 117.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 #404812 9.75:1 AAA Lc -96.7 Preferred for body text
Black text on #404812 2.15:1 Fails Lc 11.4 Not readable
#404812 text on white 9.75:1 AAA Lc 92.5 Preferred for body text
#404812 text on black 2.15:1 Fails Lc -9.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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D7DCC5

    oklch(88.4% 0.031 117)

  4. Step 300

    300

    #BDC69D

    oklch(80.9% 0.056 117.7)

  5. Step 400

    400

    #9CA865

    oklch(70.6% 0.091 117.1)

  6. Step 500

    500

    #849238

    oklch(63% 0.116 117.3)

  7. Step 600

    600

    #6E7C07

    oklch(55.5% 0.126 117.4)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5503

    oklch(42.6% 0.097 117.4)

  10. Step 900

    900 (this color)

    #404812

    oklch(38.2% 0.076 117.4)

  11. Step 950

    950

    #25290C

    oklch(26.9% 0.047 116.2)

Export this scale for Tailwind in the Tailwind colors tool

#404812 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)#4D440A0.023
Deuteranopia (no green cones)#4C44160.025
Tritanopia (no blue cones)#44443D0.065
Achromatopsia (no color)#4444440.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #404812

    #404812

    oklch(38.2% 0.076 117.4)

  • #483966

    #483966

    oklch(38.2% 0.076 298.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404812

    #404812

    oklch(38.2% 0.076 117.4)

  • #544004

    #544004

    oklch(38.3% 0.076 87.8)

  • #244E2A

    #244E2A

    oklch(38.3% 0.077 147)

Open the analogous palette in the generator

Split complementary

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

  • #404812

    #404812

    oklch(38.2% 0.076 117.4)

  • #31416B

    #31416B

    oklch(38.3% 0.075 267.1)

  • #583358

    #583358

    oklch(38.1% 0.077 327)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404812

    #404812

    oklch(38.2% 0.076 117.4)

  • #0F4866

    #0F4866

    oklch(38.2% 0.076 237.4)

  • #623043

    #623043

    oklch(38.1% 0.076 357.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404812

    #404812

    oklch(38.2% 0.076 117.4)

  • #004C55

    #004C55

    oklch(38.1% 0.066 208.4)

  • #483966

    #483966

    oklch(38.2% 0.076 298.1)

  • #65322C

    #65322C

    oklch(38.2% 0.075 28)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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