#404E38

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.04 134.4), rgb(64, 78, 56).

Aa

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

About this color

#404E38 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.040 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.040 away. White text reads best on it, at 8.88:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.040)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.36:1
White text8.88:1

Values

HEX#404E38
RGBrgb(64, 78, 56)
HSLhsl(98, 16%, 26%)
OKLCHoklch(40.5% 0.04 134.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 #404E38 8.88:1 AAA Lc -94.8 Preferred for body text
Black text on #404E38 2.36:1 Fails Lc 13.6 Not readable
#404E38 text on white 8.88:1 AAA Lc 90.3 Preferred for body text
#404E38 text on black 2.36:1 Fails Lc -12.0 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 800.

  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

    #D6DBD3

    oklch(88.5% 0.012 133.4)

  4. Step 300

    300

    #BAC4B5

    oklch(80.8% 0.023 135)

  5. Step 400

    400

    #97A68F

    oklch(70.7% 0.037 134.6)

  6. Step 500

    500

    #7E9073

    oklch(63.1% 0.047 133.7)

  7. Step 600

    600

    #677A5B

    oklch(55.5% 0.052 133.5)

  8. Step 700

    700

    #55674B

    oklch(49.1% 0.049 134.6)

  9. Step 800

    800 (this color)

    #404E38

    oklch(40.5% 0.04 134.4)

  10. Step 900

    900

    #3B4535

    oklch(37.6% 0.03 133.8)

  11. Step 950

    950

    #22291F

    oklch(27.1% 0.021 136.3)

Export this scale for Tailwind in the Tailwind colors tool

#404E38 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)#504B370.026
Deuteranopia (no green cones)#4E49390.027
Tritanopia (no blue cones)#404C480.029
Achromatopsia (no color)#4A4A4A0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E38

    #404E38

    oklch(40.5% 0.04 134.4)

  • #514358

    #514358

    oklch(40.5% 0.039 314.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E38

    #404E38

    oklch(40.5% 0.04 134.4)

  • #4C4A31

    #4C4A31

    oklch(40.4% 0.039 104.1)

  • #345043

    #345043

    oklch(40.5% 0.04 163.9)

Open the analogous palette in the generator

Split complementary

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

  • #404E38

    #404E38

    oklch(40.5% 0.04 134.4)

  • #46465E

    #46465E

    oklch(40.4% 0.04 284.5)

  • #59404E

    #59404E

    oklch(40.4% 0.041 344.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E38

    #404E38

    oklch(40.5% 0.04 134.4)

  • #3A4A5F

    #3A4A5F

    oklch(40.4% 0.041 255.4)

  • #5D4042

    #5D4042

    oklch(40.5% 0.041 14.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E38

    #404E38

    oklch(40.5% 0.04 134.4)

  • #304E59

    #304E59

    oklch(40.5% 0.04 223.2)

  • #514358

    #514358

    oklch(40.5% 0.039 314.4)

  • #5C4237

    #5C4237

    oklch(40.5% 0.041 43.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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