#5F8A2B

Closest named color: Mossy Green (#638B27). oklch(58.2% 0.133 130.6), rgb(95, 138, 43).

Aa

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

About this color

#5F8A2B 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.007 away. Black text reads best on it, at 5.15:1.

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

Values

HEX#5F8A2B
RGBrgb(95, 138, 43)
HSLhsl(87, 52%, 35%)
OKLCHoklch(58.2% 0.133 130.6)

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 #5F8A2B 4.07:1 AA large text Lc -73.3 Content text, not long reading
Black text on #5F8A2B 5.15:1 AA Lc 36.3 Non-text elements, placeholder text
#5F8A2B text on white 4.07:1 AA large text Lc 67.8 Content text, not long reading
#5F8A2B text on black 5.15:1 AA Lc -33.9 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

    #D2DEC7

    oklch(88.5% 0.034 129.7)

  4. Step 300

    300

    #B4C9A1

    oklch(80.9% 0.059 130.2)

  5. Step 400

    400

    #8CAD6D

    oklch(70.7% 0.096 130.7)

  6. Step 500

    500

    #709844

    oklch(63.1% 0.122 130.4)

  7. Step 600

    600 (this color)

    #5F8A2B

    oklch(58.2% 0.133 130.6)

  8. Step 700

    700

    #486E13

    oklch(49.2% 0.123 130.4)

  9. Step 800

    800

    #3B5A14

    oklch(42.8% 0.103 130.7)

  10. Step 900

    900

    #334A18

    oklch(37.8% 0.08 130.3)

  11. Step 950

    950

    #1E2B0F

    oklch(26.9% 0.05 129.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F8A2B 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)#90801E0.070
Deuteranopia (no green cones)#8A7D330.071
Tritanopia (no blue cones)#6184770.103
Achromatopsia (no color)#7E7E7E0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8A2B

    #5F8A2B

    oklch(58.2% 0.133 130.6)

  • #9462B5

    #9462B5

    oklch(58.3% 0.133 310.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8A2B

    #5F8A2B

    oklch(58.2% 0.133 130.6)

  • #8B7C00

    #8B7C00

    oklch(58.2% 0.121 100.9)

  • #009260

    #009260

    oklch(58.2% 0.131 160.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F8A2B

    #5F8A2B

    oklch(58.2% 0.133 130.6)

  • #6E6FC7

    #6E6FC7

    oklch(58.2% 0.133 280.9)

  • #AE5893

    #AE5893

    oklch(58.3% 0.133 340.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8A2B

    #5F8A2B

    oklch(58.2% 0.133 130.6)

  • #347EC6

    #347EC6

    oklch(58.2% 0.133 250.7)

  • #BB5568

    #BB5568

    oklch(58.2% 0.132 10.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8A2B

    #5F8A2B

    oklch(58.2% 0.133 130.6)

  • #0089A7

    #0089A7

    oklch(58.3% 0.107 220.5)

  • #9462B5

    #9462B5

    oklch(58.3% 0.133 310.6)

  • #BB5B38

    #BB5B38

    oklch(58.2% 0.133 40.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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