#407F51

Closest named color: Dark Sage (#598556). oklch(54.2% 0.097 150.8), rgb(64, 127, 81).

Aa

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

About this color

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

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

Values

HEX#407F51
RGBrgb(64, 127, 81)
HSLhsl(136, 33%, 37%)
OKLCHoklch(54.2% 0.097 150.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 #407F51 4.80:1 AA Lc -78.6 Fine for body text
Black text on #407F51 4.37:1 AA large text Lc 30.9 Non-text elements, placeholder text
#407F51 text on white 4.80:1 AA Lc 73.2 Content text, not long reading
#407F51 text on black 4.37:1 AA large text Lc -28.5 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CEDED1

    oklch(88.5% 0.025 151.1)

  4. Step 300

    300

    #ADC9B2

    oklch(80.9% 0.044 150.4)

  5. Step 400

    400

    #81AD8A

    oklch(70.6% 0.069 150.6)

  6. Step 500

    500

    #60996D

    oklch(63.1% 0.089 150.4)

  7. Step 600

    600 (this color)

    #407F51

    oklch(54.2% 0.097 150.8)

  8. Step 700

    700

    #356F45

    oklch(49.1% 0.091 150.8)

  9. Step 800

    800

    #2D5A39

    oklch(42.6% 0.074 150.8)

  10. Step 900

    900

    #294A31

    oklch(37.6% 0.058 150.6)

  11. Step 950

    950

    #182C1D

    oklch(27.1% 0.038 151.1)

Export this scale for Tailwind in the Tailwind colors tool

#407F51 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)#80764E0.083
Deuteranopia (no green cones)#7670540.080
Tritanopia (no blue cones)#337D730.053
Achromatopsia (no color)#7272720.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #407F51

    #407F51

    oklch(54.2% 0.097 150.8)

  • #8F5989

    #8F5989

    oklch(54.1% 0.097 330.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407F51

    #407F51

    oklch(54.2% 0.097 150.8)

  • #677732

    #677732

    oklch(54% 0.096 120.6)

  • #038172

    #038172

    oklch(54.1% 0.097 180.9)

Open the analogous palette in the generator

Split complementary

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

  • #407F51

    #407F51

    oklch(54.2% 0.097 150.8)

  • #79619F

    #79619F

    oklch(54.2% 0.098 301)

  • #9D566C

    #9D566C

    oklch(54.3% 0.097 1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407F51

    #407F51

    oklch(54.2% 0.097 150.8)

  • #5A6BA8

    #5A6BA8

    oklch(54.1% 0.098 271)

  • #A0584C

    #A0584C

    oklch(54.2% 0.097 30.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407F51

    #407F51

    oklch(54.2% 0.097 150.8)

  • #3276A2

    #3276A2

    oklch(54.2% 0.097 240.4)

  • #8F5989

    #8F5989

    oklch(54.1% 0.097 330.9)

  • #98612E

    #98612E

    oklch(54.3% 0.097 61.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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