#407D5F

Closest named color: Dark Sage (#598556). oklch(54% 0.08 160.6), rgb(64, 125, 95).

Aa

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

About this color

#407D5F is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.080 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Sage (#598556), ΔE 0.041 away. White text reads best on it, at 4.86:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameDark Sage (#598556)
Black text4.31:1
White text4.86:1

Values

HEX#407D5F
RGBrgb(64, 125, 95)
HSLhsl(150, 32%, 37%)
OKLCHoklch(54% 0.08 160.6)

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 #407D5F 4.86:1 AA Lc -79.0 Fine for body text
Black text on #407D5F 4.31:1 AA large text Lc 30.5 Non-text elements, placeholder text
#407D5F text on white 4.86:1 AA Lc 73.6 Content text, not long reading
#407D5F text on black 4.31:1 AA large text Lc -28.1 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE7

    oklch(93.6% 0.011 158.8)

  3. Step 200

    200

    #CEDDD5

    oklch(88.4% 0.019 162.9)

  4. Step 300

    300

    #ADC8B9

    oklch(80.8% 0.036 161.2)

  5. Step 400

    400

    #81AC95

    oklch(70.7% 0.057 161.1)

  6. Step 500

    500

    #60987B

    oklch(63.2% 0.074 160.7)

  7. Step 600

    600 (this color)

    #407D5F

    oklch(54% 0.08 160.6)

  8. Step 700

    700

    #366E53

    oklch(49.2% 0.074 160.9)

  9. Step 800

    800

    #2D5944

    oklch(42.6% 0.061 161.5)

  10. Step 900

    900

    #294A39

    oklch(37.8% 0.049 160.4)

  11. Step 950

    950

    #192B21

    oklch(27% 0.03 159.2)

Export this scale for Tailwind in the Tailwind colors tool

#407D5F 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)#7C755D0.077
Deuteranopia (no green cones)#726F610.073
Tritanopia (no blue cones)#2F7D750.034
Achromatopsia (no color)#7171710.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #407D5F

    #407D5F

    oklch(54% 0.08 160.6)

  • #8E5C7D

    #8E5C7D

    oklch(54% 0.08 340.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407D5F

    #407D5F

    oklch(54% 0.08 160.6)

  • #5E7846

    #5E7846

    oklch(53.9% 0.08 131)

  • #287D79

    #287D79

    oklch(53.9% 0.08 190.6)

Open the analogous palette in the generator

Split complementary

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

  • #407D5F

    #407D5F

    oklch(54% 0.08 160.6)

  • #7D6191

    #7D6191

    oklch(53.9% 0.08 310.5)

  • #975A63

    #975A63

    oklch(53.9% 0.081 10.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407D5F

    #407D5F

    oklch(54% 0.08 160.6)

  • #66699C

    #66699C

    oklch(53.9% 0.08 280.8)

  • #965E4A

    #965E4A

    oklch(53.9% 0.08 40.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407D5F

    #407D5F

    oklch(54% 0.08 160.6)

  • #4A729C

    #4A729C

    oklch(54.1% 0.08 250.6)

  • #8E5C7D

    #8E5C7D

    oklch(54% 0.08 340.3)

  • #8C6637

    #8C6637

    oklch(53.9% 0.08 70.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #407D5F 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.