#5F8A42

Closest named color: Moss Green (#658B38). oklch(58.5% 0.112 134.1), rgb(95, 138, 66).

Aa

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

About this color

#5F8A42 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.112 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss Green (#658B38), ΔE 0.013 away. Black text reads best on it, at 5.20:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameMoss Green (#658B38)
Black text5.20:1
White text4.03:1

Values

HEX#5F8A42
RGBrgb(95, 138, 66)
HSLhsl(96, 35%, 40%)
OKLCHoklch(58.5% 0.112 134.1)

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 #5F8A42 4.03:1 AA large text Lc -73.0 Content text, not long reading
Black text on #5F8A42 5.20:1 AA Lc 36.6 Non-text elements, placeholder text
#5F8A42 text on white 4.03:1 AA large text Lc 67.5 Content text, not long reading
#5F8A42 text on black 5.20:1 AA Lc -34.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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE2

    oklch(93.6% 0.015 132.5)

  3. Step 200

    200

    #D2DECB

    oklch(88.6% 0.029 133.7)

  4. Step 300

    300

    #B3C8A8

    oklch(80.8% 0.05 134.8)

  5. Step 400

    400

    #8CAC78

    oklch(70.7% 0.081 133.8)

  6. Step 500

    500

    #6F9755

    oklch(63.1% 0.103 134)

  7. Step 600

    600 (this color)

    #5F8A42

    oklch(58.5% 0.112 134.1)

  8. Step 700

    700

    #476D2C

    oklch(49.1% 0.103 134.1)

  9. Step 800

    800

    #3A5925

    oklch(42.7% 0.087 134.3)

  10. Step 900

    900

    #324923

    oklch(37.6% 0.067 134.2)

  11. Step 950

    950

    #1E2B15

    oklch(27% 0.042 133.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F8A42 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)#8F813C0.068
Deuteranopia (no green cones)#897D470.069
Tritanopia (no blue cones)#5F85790.081
Achromatopsia (no color)#7E7E7E0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8A42

    #5F8A42

    oklch(58.5% 0.112 134.1)

  • #9466AA

    #9466AA

    oklch(58.4% 0.113 314.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8A42

    #5F8A42

    oklch(58.5% 0.112 134.1)

  • #877E1F

    #877E1F

    oklch(58.4% 0.112 103.8)

  • #25906A

    #25906A

    oklch(58.4% 0.112 164.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F8A42

    #5F8A42

    oklch(58.5% 0.112 134.1)

  • #7471BC

    #7471BC

    oklch(58.4% 0.113 284.1)

  • #AA5F8C

    #AA5F8C

    oklch(58.6% 0.112 344.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8A42

    #5F8A42

    oklch(58.5% 0.112 134.1)

  • #4A7EBD

    #4A7EBD

    oklch(58.5% 0.112 254.2)

  • #B45D67

    #B45D67

    oklch(58.4% 0.113 13.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8A42

    #5F8A42

    oklch(58.5% 0.112 134.1)

  • #0089AC

    #0089AC

    oklch(58.5% 0.11 224)

  • #9466AA

    #9466AA

    oklch(58.4% 0.113 314.3)

  • #B26441

    #B26441

    oklch(58.5% 0.112 44.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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