#5F8D2D

Closest named color: Mossy Green (#638B27). oklch(59% 0.135 131.4), rgb(95, 141, 45).

Aa

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

About this color

#5F8D2D is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.135 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.007 away. Black text reads best on it, at 5.33:1.

Hue familyGreens
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.33:1
White text3.93:1

Values

HEX#5F8D2D
RGBrgb(95, 141, 45)
HSLhsl(89, 52%, 36%)
OKLCHoklch(59% 0.135 131.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 #5F8D2D 3.93:1 AA large text Lc -72.1 Content text, not long reading
Black text on #5F8D2D 5.33:1 AA Lc 37.5 Non-text elements, placeholder text
#5F8D2D text on white 3.93:1 AA large text Lc 66.6 Content text, not long reading
#5F8D2D text on black 5.33:1 AA Lc -35.1 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B3C9A1

    oklch(80.9% 0.06 131.2)

  5. Step 400

    400

    #8BAD6C

    oklch(70.6% 0.097 131)

  6. Step 500

    500

    #6E9943

    oklch(63.2% 0.125 131.3)

  7. Step 600

    600 (this color)

    #5F8D2D

    oklch(59% 0.135 131.4)

  8. Step 700

    700

    #456E12

    oklch(49% 0.126 131.5)

  9. Step 800

    800

    #395A13

    oklch(42.7% 0.105 131.5)

  10. Step 900

    900

    #314A18

    oklch(37.6% 0.081 131.7)

  11. Step 950

    950

    #1D2B0F

    oklch(26.8% 0.051 131.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F8D2D 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)#9383200.073
Deuteranopia (no green cones)#8D7F350.076
Tritanopia (no blue cones)#6187790.103
Achromatopsia (no color)#8080800.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8D2D

    #5F8D2D

    oklch(59% 0.135 131.4)

  • #9763B7

    #9763B7

    oklch(58.9% 0.135 311.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8D2D

    #5F8D2D

    oklch(59% 0.135 131.4)

  • #8D7F00

    #8D7F00

    oklch(59.1% 0.124 101.7)

  • #009464

    #009464

    oklch(58.9% 0.13 161.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F8D2D

    #5F8D2D

    oklch(59% 0.135 131.4)

  • #7171CB

    #7171CB

    oklch(59% 0.135 281.4)

  • #B25994

    #B25994

    oklch(59% 0.136 341.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8D2D

    #5F8D2D

    oklch(59% 0.135 131.4)

  • #3680CA

    #3680CA

    oklch(58.9% 0.135 251.2)

  • #BF5668

    #BF5668

    oklch(58.9% 0.136 11.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8D2D

    #5F8D2D

    oklch(59% 0.135 131.4)

  • #008BAB

    #008BAB

    oklch(59% 0.109 221.6)

  • #9763B7

    #9763B7

    oklch(58.9% 0.135 311.4)

  • #BE5D37

    #BE5D37

    oklch(58.9% 0.135 41.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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