#5F8B2C

Closest named color: Mossy Green (#638B27). oklch(58.5% 0.133 130.9), rgb(95, 139, 44).

Aa

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

About this color

#5F8B2C is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.133 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.005 away. Black text reads best on it, at 5.21:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.21:1
White text4.02:1

Values

HEX#5F8B2C
RGBrgb(95, 139, 44)
HSLhsl(88, 52%, 36%)
OKLCHoklch(58.5% 0.133 130.9)

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 #5F8B2C 4.02:1 AA large text Lc -72.9 Content text, not long reading
Black text on #5F8B2C 5.21:1 AA Lc 36.7 Non-text elements, placeholder text
#5F8B2C text on white 4.02:1 AA large text Lc 67.4 Content text, not long reading
#5F8B2C text on black 5.21:1 AA Lc -34.3 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

    #8CAD6D

    oklch(70.7% 0.096 130.7)

  6. Step 500

    500

    #6F9844

    oklch(63% 0.122 130.8)

  7. Step 600

    600 (this color)

    #5F8B2C

    oklch(58.5% 0.133 130.9)

  8. Step 700

    700

    #476E13

    oklch(49.1% 0.124 130.8)

  9. Step 800

    800

    #3A5A14

    oklch(42.7% 0.103 131.2)

  10. Step 900

    900

    #324A18

    oklch(37.7% 0.081 131)

  11. Step 950

    950

    #1E2B0F

    oklch(26.9% 0.05 129.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F8B2C 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)#91811F0.071
Deuteranopia (no green cones)#8B7E340.072
Tritanopia (no blue cones)#6185780.103
Achromatopsia (no color)#7F7F7F0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8B2C

    #5F8B2C

    oklch(58.5% 0.133 130.9)

  • #9562B5

    #9562B5

    oklch(58.4% 0.134 311.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8B2C

    #5F8B2C

    oklch(58.5% 0.133 130.9)

  • #8C7D00

    #8C7D00

    oklch(58.5% 0.122 101)

  • #009362

    #009362

    oklch(58.6% 0.13 161)

Open the analogous palette in the generator

Split complementary

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

  • #5F8B2C

    #5F8B2C

    oklch(58.5% 0.133 130.9)

  • #6F70C8

    #6F70C8

    oklch(58.5% 0.133 281)

  • #AF5893

    #AF5893

    oklch(58.4% 0.134 341)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8B2C

    #5F8B2C

    oklch(58.5% 0.133 130.9)

  • #357FC7

    #357FC7

    oklch(58.5% 0.133 250.7)

  • #BC5568

    #BC5568

    oklch(58.3% 0.134 10.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8B2C

    #5F8B2C

    oklch(58.5% 0.133 130.9)

  • #0089A8

    #0089A8

    oklch(58.4% 0.107 221.2)

  • #9562B5

    #9562B5

    oklch(58.4% 0.134 311.2)

  • #BC5C38

    #BC5C38

    oklch(58.5% 0.134 40.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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