#5F8821

Closest named color: Mossy Green (#638B27). oklch(57.6% 0.137 129.2), rgb(95, 136, 33).

Aa

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

About this color

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

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

Values

HEX#5F8821
RGBrgb(95, 136, 33)
HSLhsl(84, 61%, 33%)
OKLCHoklch(57.6% 0.137 129.2)

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 #5F8821 4.17:1 AA large text Lc -74.1 Content text, not long reading
Black text on #5F8821 5.03:1 AA Lc 35.5 Non-text elements, placeholder text
#5F8821 text on white 4.17:1 AA large text Lc 68.6 Content text, not long reading
#5F8821 text on black 5.03:1 AA Lc -33.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

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC6

    oklch(88.5% 0.035 128.9)

  4. Step 300

    300

    #B4C99F

    oklch(80.9% 0.062 129.3)

  5. Step 400

    400

    #8DAD6A

    oklch(70.7% 0.099 129.4)

  6. Step 500

    500

    #71983F

    oklch(63.1% 0.126 129.3)

  7. Step 600

    600 (this color)

    #5F8821

    oklch(57.6% 0.137 129.2)

  8. Step 700

    700

    #496E07

    oklch(49.2% 0.128 129.3)

  9. Step 800

    800

    #3C590D

    oklch(42.5% 0.105 129.1)

  10. Step 900

    900

    #344A15

    oklch(37.8% 0.082 129)

  11. Step 950

    950

    #1E2B0E

    oklch(26.9% 0.052 129.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F8821 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)#8F7E0C0.070
Deuteranopia (no green cones)#897B2B0.071
Tritanopia (no blue cones)#6282740.106
Achromatopsia (no color)#7C7C7C0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8821

    #5F8821

    oklch(57.6% 0.137 129.2)

  • #9160B6

    #9160B6

    oklch(57.7% 0.137 309)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8821

    #5F8821

    oklch(57.6% 0.137 129.2)

  • #8B7900

    #8B7900

    oklch(57.5% 0.119 98.8)

  • #00905C

    #00905C

    oklch(57.6% 0.132 159.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F8821

    #5F8821

    oklch(57.6% 0.137 129.2)

  • #696EC8

    #696EC8

    oklch(57.7% 0.137 278.8)

  • #AC5593

    #AC5593

    oklch(57.6% 0.137 339.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8821

    #5F8821

    oklch(57.6% 0.137 129.2)

  • #297DC6

    #297DC6

    oklch(57.6% 0.137 249.1)

  • #BB5168

    #BB5168

    oklch(57.6% 0.138 9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8821

    #5F8821

    oklch(57.6% 0.137 129.2)

  • #0087A3

    #0087A3

    oklch(57.6% 0.104 219.2)

  • #9160B6

    #9160B6

    oklch(57.7% 0.137 309)

  • #BB5836

    #BB5836

    oklch(57.7% 0.137 39.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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