#5B8D18

Closest named color: Sap Green (#5C8B15). oklch(58.6% 0.15 131), rgb(91, 141, 24).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (59%)
Chromavivid (0.150)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text5.26:1
White text3.98:1

Values

HEX#5B8D18
RGBrgb(91, 141, 24)
HSLhsl(86, 71%, 32%)
OKLCHoklch(58.6% 0.15 131)

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 #5B8D18 3.98:1 AA large text Lc -72.5 Content text, not long reading
Black text on #5B8D18 5.26:1 AA Lc 37.1 Non-text elements, placeholder text
#5B8D18 text on white 3.98:1 AA large text Lc 67.0 Content text, not long reading
#5B8D18 text on black 5.26:1 AA Lc -34.7 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

    #E5EDDF

    oklch(93.6% 0.02 131.5)

  3. Step 200

    200

    #D0DFC5

    oklch(88.5% 0.039 131.9)

  4. Step 300

    300

    #B1CA9D

    oklch(80.9% 0.067 131.5)

  5. Step 400

    400

    #89AF65

    oklch(70.8% 0.109 130.9)

  6. Step 500

    500

    #6B9A37

    oklch(63.1% 0.139 131)

  7. Step 600

    600 (this color)

    #5B8D18

    oklch(58.6% 0.15 131)

  8. Step 700

    700

    #446F00

    oklch(49.1% 0.134 131.1)

  9. Step 800

    800

    #375B01

    oklch(42.7% 0.116 131.1)

  10. Step 900

    900

    #304B10

    oklch(37.8% 0.09 131.1)

  11. Step 950

    950

    #1C2C0B

    oklch(27% 0.058 131.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B8D18 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)#9482000.081
Deuteranopia (no green cones)#8D7E260.082
Tritanopia (no blue cones)#5D87780.115
Achromatopsia (no color)#7F7F7F0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8D18

    #5B8D18

    oklch(58.6% 0.15 131)

  • #985EBD

    #985EBD

    oklch(58.5% 0.151 310.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8D18

    #5B8D18

    oklch(58.6% 0.15 131)

  • #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°).

  • #5B8D18

    #5B8D18

    oklch(58.6% 0.15 131)

  • #6E6ED2

    #6E6ED2

    oklch(58.6% 0.15 280.7)

  • #B55396

    #B55396

    oklch(58.6% 0.15 341.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8D18

    #5B8D18

    oklch(58.6% 0.15 131)

  • #267FD1

    #267FD1

    oklch(58.7% 0.15 250.8)

  • #C44F66

    #C44F66

    oklch(58.7% 0.15 10.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8D18

    #5B8D18

    oklch(58.6% 0.15 131)

  • #008AA9

    #008AA9

    oklch(58.7% 0.108 221.1)

  • #985EBD

    #985EBD

    oklch(58.5% 0.151 310.7)

  • #C3572B

    #C3572B

    oklch(58.6% 0.15 41.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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