#5F8A18

Closest named color: Sap Green (#5C8B15). oklch(58.1% 0.145 129.1), rgb(95, 138, 24).

Aa

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

About this color

#5F8A18 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.145 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.005 away. Black text reads best on it, at 5.13:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromavivid (0.145)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text5.13:1
White text4.08:1

Values

HEX#5F8A18
RGBrgb(95, 138, 24)
HSLhsl(83, 70%, 32%)
OKLCHoklch(58.1% 0.145 129.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 #5F8A18 4.08:1 AA large text Lc -73.4 Content text, not long reading
Black text on #5F8A18 5.13:1 AA Lc 36.2 Non-text elements, placeholder text
#5F8A18 text on white 4.08:1 AA large text Lc 67.9 Content text, not long reading
#5F8A18 text on black 5.13:1 AA Lc -33.8 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

    #E6EDDF

    oklch(93.7% 0.02 128.7)

  3. Step 200

    200

    #D2DEC5

    oklch(88.5% 0.036 128.1)

  4. Step 300

    300

    #B4C99D

    oklch(80.9% 0.064 128.5)

  5. Step 400

    400

    #8CAD66

    oklch(70.6% 0.104 129.1)

  6. Step 500

    500

    #709939

    oklch(63.2% 0.133 129.2)

  7. Step 600

    600 (this color)

    #5F8A18

    oklch(58.1% 0.145 129.1)

  8. Step 700

    700

    #496E00

    oklch(49.1% 0.13 129)

  9. Step 800

    800

    #3B5A03

    oklch(42.7% 0.112 129.2)

  10. Step 900

    900

    #334A11

    oklch(37.7% 0.086 129)

  11. Step 950

    950

    #1E2B0C

    oklch(26.9% 0.054 128.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F8A18 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)#917F000.073
Deuteranopia (no green cones)#8B7D250.073
Tritanopia (no blue cones)#6284750.112
Achromatopsia (no color)#7D7D7D0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8A18

    #5F8A18

    oklch(58.1% 0.145 129.1)

  • #945FBA

    #945FBA

    oklch(58.1% 0.144 309.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8A18

    #5F8A18

    oklch(58.1% 0.145 129.1)

  • #8D7B00

    #8D7B00

    oklch(58.2% 0.121 99)

  • #00925D

    #00925D

    oklch(58.2% 0.134 159)

Open the analogous palette in the generator

Split complementary

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

  • #5F8A18

    #5F8A18

    oklch(58.1% 0.145 129.1)

  • #6A6ECE

    #6A6ECE

    oklch(58.1% 0.145 279.1)

  • #B05496

    #B05496

    oklch(58.1% 0.144 339.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8A18

    #5F8A18

    oklch(58.1% 0.145 129.1)

  • #227ECB

    #227ECB

    oklch(58% 0.144 249.1)

  • #BF5068

    #BF5068

    oklch(58.1% 0.144 9.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8A18

    #5F8A18

    oklch(58.1% 0.145 129.1)

  • #0088A5

    #0088A5

    oklch(58% 0.105 219.9)

  • #945FBA

    #945FBA

    oklch(58.1% 0.144 309.5)

  • #BF5632

    #BF5632

    oklch(57.9% 0.144 39)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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