#5B8F30

Closest named color: Mossy Green (#638B27). oklch(59.3% 0.138 133.5), rgb(91, 143, 48).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.41:1
White text3.87:1

Values

HEX#5B8F30
RGBrgb(91, 143, 48)
HSLhsl(93, 50%, 37%)
OKLCHoklch(59.3% 0.138 133.5)

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 #5B8F30 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #5B8F30 5.41:1 AA Lc 38.0 Non-text elements, placeholder text
#5B8F30 text on white 3.87:1 AA large text Lc 66.0 Content text, not long reading
#5B8F30 text on black 5.41:1 AA Lc -35.6 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

    #E5EDE1

    oklch(93.7% 0.018 134.9)

  3. Step 200

    200

    #D0DEC8

    oklch(88.4% 0.033 134)

  4. Step 300

    300

    #B1CAA1

    oklch(80.9% 0.062 133.3)

  5. Step 400

    400

    #87AE6D

    oklch(70.6% 0.1 133.6)

  6. Step 500

    500

    #699A45

    oklch(63.2% 0.128 133.7)

  7. Step 600

    600 (this color)

    #5B8F30

    oklch(59.3% 0.138 133.5)

  8. Step 700

    700

    #416F15

    oklch(49% 0.128 133.5)

  9. Step 800

    800

    #365B15

    oklch(42.8% 0.106 133.5)

  10. Step 900

    900

    #2F4B19

    oklch(37.8% 0.083 133.6)

  11. Step 950

    950

    #1C2C10

    oklch(27.1% 0.052 133.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B8F30 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)#9584240.081
Deuteranopia (no green cones)#8D80380.080
Tritanopia (no blue cones)#5B897B0.102
Achromatopsia (no color)#8181810.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8F30

    #5B8F30

    oklch(59.3% 0.138 133.5)

  • #9B63B7

    #9B63B7

    oklch(59.3% 0.137 313.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8F30

    #5B8F30

    oklch(59.3% 0.138 133.5)

  • #8C8100

    #8C8100

    oklch(59.4% 0.125 103.5)

  • #009569

    #009569

    oklch(59.3% 0.127 163.7)

Open the analogous palette in the generator

Split complementary

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

  • #5B8F30

    #5B8F30

    oklch(59.3% 0.138 133.5)

  • #7570CD

    #7570CD

    oklch(59.3% 0.139 283.7)

  • #B55993

    #B55993

    oklch(59.4% 0.138 343.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8F30

    #5B8F30

    oklch(59.3% 0.138 133.5)

  • #3B80CE

    #3B80CE

    oklch(59.3% 0.138 253.5)

  • #C25666

    #C25666

    oklch(59.3% 0.139 13.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8F30

    #5B8F30

    oklch(59.3% 0.138 133.5)

  • #008CAE

    #008CAE

    oklch(59.4% 0.111 222.9)

  • #9B63B7

    #9B63B7

    oklch(59.3% 0.137 313.6)

  • #C05E32

    #C05E32

    oklch(59.3% 0.139 43.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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