#404C38

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40% 0.036 133.1), rgb(64, 76, 56).

Aa

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

About this color

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

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

Values

HEX#404C38
RGBrgb(64, 76, 56)
HSLhsl(96, 15%, 26%)
OKLCHoklch(40% 0.036 133.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 #404C38 9.09:1 AAA Lc -95.3 Preferred for body text
Black text on #404C38 2.30:1 Fails Lc 13.0 Not readable
#404C38 text on white 9.09:1 AAA Lc 90.9 Preferred for body text
#404C38 text on black 2.30: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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E8EBE6

    oklch(93.6% 0.007 132.4)

  3. Step 200

    200

    #D5DBD1

    oklch(88.4% 0.015 132.5)

  4. Step 300

    300

    #BAC5B3

    oklch(81% 0.028 133)

  5. Step 400

    400

    #96A78B

    oklch(70.7% 0.044 133.1)

  6. Step 500

    500

    #7C916F

    oklch(63.1% 0.055 133.7)

  7. Step 600

    600

    #657B57

    oklch(55.5% 0.06 133.6)

  8. Step 700

    700

    #546847

    oklch(49.1% 0.056 133.5)

  9. Step 800

    800

    #45553A

    oklch(42.8% 0.047 133)

  10. Step 900

    900 (this color)

    #404C38

    oklch(40% 0.036 133.1)

  11. Step 950

    950

    #22291D

    oklch(27% 0.024 132.5)

Export this scale for Tailwind in the Tailwind colors tool

#404C38 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)#4E49370.023
Deuteranopia (no green cones)#4C48390.023
Tritanopia (no blue cones)#404A470.027
Achromatopsia (no color)#4848480.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C38

    #404C38

    oklch(40% 0.036 133.1)

  • #4E4256

    #4E4256

    oklch(39.9% 0.036 311.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C38

    #404C38

    oklch(40% 0.036 133.1)

  • #4B4932

    #4B4932

    oklch(40.1% 0.036 103.7)

  • #364E42

    #364E42

    oklch(40% 0.036 162.5)

Open the analogous palette in the generator

Split complementary

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

  • #404C38

    #404C38

    oklch(40% 0.036 133.1)

  • #45455B

    #45455B

    oklch(39.9% 0.037 284.6)

  • #56404D

    #56404D

    oklch(40% 0.037 342.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C38

    #404C38

    oklch(40% 0.036 133.1)

  • #3A495B

    #3A495B

    oklch(40% 0.036 253.3)

  • #594042

    #594042

    oklch(40% 0.035 13.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C38

    #404C38

    oklch(40% 0.036 133.1)

  • #324C56

    #324C56

    oklch(40% 0.036 224)

  • #4E4256

    #4E4256

    oklch(39.9% 0.036 311.7)

  • #594138

    #594138

    oklch(39.9% 0.037 41.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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