#404C39

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40% 0.035 134.1), rgb(64, 76, 57).

Aa

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

About this color

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

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

Values

HEX#404C39
RGBrgb(64, 76, 57)
HSLhsl(98, 14%, 26%)
OKLCHoklch(40% 0.035 134.1)

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 #404C39 9.08:1 AAA Lc -95.3 Preferred for body text
Black text on #404C39 2.31:1 Fails Lc 13.1 Not readable
#404C39 text on white 9.08:1 AAA Lc 90.9 Preferred for body text
#404C39 text on black 2.31:1 Fails Lc -11.4 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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE6

    oklch(93.6% 0.007 132.4)

  3. Step 200

    200

    #D5DBD2

    oklch(88.4% 0.014 134.9)

  4. Step 300

    300

    #BAC5B4

    oklch(81% 0.026 134.3)

  5. Step 400

    400

    #96A78D

    oklch(70.8% 0.042 134.7)

  6. Step 500

    500

    #7C9170

    oklch(63.1% 0.054 134.3)

  7. Step 600

    600

    #657B58

    oklch(55.5% 0.058 134.2)

  8. Step 700

    700

    #546848

    oklch(49.2% 0.055 134.1)

  9. Step 800

    800

    #45553C

    oklch(42.8% 0.045 134.5)

  10. Step 900

    900 (this color)

    #404C39

    oklch(40% 0.035 134.1)

  11. Step 950

    950

    #22291E

    oklch(27% 0.022 134.3)

Export this scale for Tailwind in the Tailwind colors tool

#404C39 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)#4E49380.023
Deuteranopia (no green cones)#4C483A0.023
Tritanopia (no blue cones)#404A470.026
Achromatopsia (no color)#4848480.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C39

    #404C39

    oklch(40% 0.035 134.1)

  • #4F4255

    #4F4255

    oklch(40% 0.036 315.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C39

    #404C39

    oklch(40% 0.035 134.1)

  • #4B4933

    #4B4933

    oklch(40.1% 0.035 103.5)

  • #364E43

    #364E43

    oklch(40.1% 0.035 164.7)

Open the analogous palette in the generator

Split complementary

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

  • #404C39

    #404C39

    oklch(40% 0.035 134.1)

  • #45455A

    #45455A

    oklch(39.9% 0.035 284.7)

  • #56404C

    #56404C

    oklch(40% 0.036 344.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C39

    #404C39

    oklch(40% 0.035 134.1)

  • #3B495A

    #3B495A

    oklch(40% 0.034 253.5)

  • #594042

    #594042

    oklch(40% 0.035 13.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C39

    #404C39

    oklch(40% 0.035 134.1)

  • #334C56

    #334C56

    oklch(40% 0.035 224.9)

  • #4F4255

    #4F4255

    oklch(40% 0.036 315.1)

  • #584238

    #584238

    oklch(40% 0.035 45.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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