#5D8A40

Closest named color: Fern Green (#548D44). oklch(58.3% 0.115 134.5), rgb(93, 138, 64).

Aa

Black text reads best on this color (5.17:1).

About this color

#5D8A40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.115 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.011 away. Black text reads best on it, at 5.17:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameFern Green (#548D44)
Black text5.17:1
White text4.05:1

Values

HEX#5D8A40
RGBrgb(93, 138, 64)
HSLhsl(96, 37%, 40%)
OKLCHoklch(58.3% 0.115 134.5)

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 #5D8A40 4.05:1 AA large text Lc -73.2 Content text, not long reading
Black text on #5D8A40 5.17:1 AA Lc 36.4 Non-text elements, placeholder text
#5D8A40 text on white 4.05:1 AA large text Lc 67.7 Content text, not long reading
#5D8A40 text on black 5.17:1 AA Lc -34.0 Non-text elements, placeholder text

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

    #F3F6F2

    oklch(97% 0.006 137.8)

  2. Step 100

    100

    #E6ECE2

    oklch(93.6% 0.015 132.5)

  3. Step 200

    200

    #D1DECB

    oklch(88.6% 0.029 135.6)

  4. Step 300

    300

    #B3C9A7

    oklch(81% 0.052 134.5)

  5. Step 400

    400

    #8BAC78

    oklch(70.6% 0.082 134.5)

  6. Step 500

    500

    #6E9854

    oklch(63.2% 0.106 134.4)

  7. Step 600

    600 (this color)

    #5D8A40

    oklch(58.3% 0.115 134.5)

  8. Step 700

    700

    #456E2A

    oklch(49.2% 0.108 134.8)

  9. Step 800

    800

    #395924

    oklch(42.6% 0.088 134.6)

  10. Step 900

    900

    #314A22

    oklch(37.8% 0.071 134.9)

  11. Step 950

    950

    #1D2B15

    oklch(27% 0.043 134.9)

Export this scale for Tailwind in the Tailwind colors tool

#5D8A40 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)#8F80390.071
Deuteranopia (no green cones)#887D450.070
Tritanopia (no blue cones)#5D85790.084
Achromatopsia (no color)#7E7E7E0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D8A40

    #5D8A40

    oklch(58.3% 0.115 134.5)

  • #9465AA

    #9465AA

    oklch(58.3% 0.115 314.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D8A40

    #5D8A40

    oklch(58.3% 0.115 134.5)

  • #867E19

    #867E19

    oklch(58.3% 0.115 104.6)

  • #1D9069

    #1D9069

    oklch(58.2% 0.115 164.5)

Open the analogous palette in the generator

Split complementary

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

  • #5D8A40

    #5D8A40

    oklch(58.3% 0.115 134.5)

  • #7470BD

    #7470BD

    oklch(58.3% 0.116 284.5)

  • #AA5D8B

    #AA5D8B

    oklch(58.2% 0.115 344.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D8A40

    #5D8A40

    oklch(58.3% 0.115 134.5)

  • #487DBE

    #487DBE

    oklch(58.3% 0.116 254.5)

  • #B55C66

    #B55C66

    oklch(58.3% 0.115 14.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D8A40

    #5D8A40

    oklch(58.3% 0.115 134.5)

  • #0088AC

    #0088AC

    oklch(58.3% 0.11 224.9)

  • #9465AA

    #9465AA

    oklch(58.3% 0.115 314.4)

  • #B3633E

    #B3633E

    oklch(58.4% 0.115 44.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5D8A40 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.