#404C31

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.8% 0.046 127.8), rgb(64, 76, 49).

Aa

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

About this color

#404C31 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.046 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.047 away. White text reads best on it, at 9.14:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.046)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.29:1
White text9.14:1

Values

HEX#404C31
RGBrgb(64, 76, 49)
HSLhsl(87, 22%, 25%)
OKLCHoklch(39.8% 0.046 127.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 #404C31 9.14:1 AAA Lc -95.4 Preferred for body text
Black text on #404C31 2.29:1 Fails Lc 12.9 Not readable
#404C31 text on white 9.14:1 AAA Lc 91.1 Preferred for body text
#404C31 text on black 2.29:1 Fails Lc -11.3 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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E8EBE4

    oklch(93.6% 0.01 125.7)

  3. Step 200

    200

    #D5DCCE

    oklch(88.5% 0.02 128.7)

  4. Step 300

    300

    #BAC5AE

    oklch(80.9% 0.034 128.1)

  5. Step 400

    400

    #97A883

    oklch(70.8% 0.056 127.8)

  6. Step 500

    500

    #7D9264

    oklch(63.1% 0.07 128.2)

  7. Step 600

    600

    #667C4A

    oklch(55.6% 0.077 128)

  8. Step 700

    700

    #55683B

    oklch(49% 0.071 127.5)

  9. Step 800

    800

    #465531

    oklch(42.7% 0.059 127.2)

  10. Step 900

    900 (this color)

    #404C31

    oklch(39.8% 0.046 127.8)

  11. Step 950

    950

    #22291A

    oklch(26.9% 0.028 128.5)

Export this scale for Tailwind in the Tailwind colors tool

#404C31 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)#4F492F0.025
Deuteranopia (no green cones)#4D48320.024
Tritanopia (no blue cones)#414A450.035
Achromatopsia (no color)#4848480.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C31

    #404C31

    oklch(39.8% 0.046 127.8)

  • #4E415A

    #4E415A

    oklch(39.9% 0.044 308.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C31

    #404C31

    oklch(39.8% 0.046 127.8)

  • #4E472A

    #4E472A

    oklch(39.7% 0.045 96.2)

  • #314F3E

    #314F3E

    oklch(39.8% 0.046 158.6)

Open the analogous palette in the generator

Split complementary

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

  • #404C31

    #404C31

    oklch(39.8% 0.046 127.8)

  • #414560

    #414560

    oklch(39.8% 0.046 277.6)

  • #583E50

    #583E50

    oklch(39.9% 0.046 338.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C31

    #404C31

    oklch(39.8% 0.046 127.8)

  • #33495F

    #33495F

    oklch(39.7% 0.046 249.1)

  • #5D3D42

    #5D3D42

    oklch(39.8% 0.046 9.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C31

    #404C31

    oklch(39.8% 0.046 127.8)

  • #284D58

    #284D58

    oklch(39.7% 0.046 219.3)

  • #4E415A

    #4E415A

    oklch(39.9% 0.044 308.1)

  • #5D3F35

    #5D3F35

    oklch(39.9% 0.046 39.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404C31 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.