#5B8D2C

Closest named color: Mossy Green (#638B27). oklch(58.7% 0.138 132.7), rgb(91, 141, 44).

Aa

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

About this color

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

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

Values

HEX#5B8D2C
RGBrgb(91, 141, 44)
HSLhsl(91, 52%, 36%)
OKLCHoklch(58.7% 0.138 132.7)

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 #5B8D2C 3.96:1 AA large text Lc -72.4 Content text, not long reading
Black text on #5B8D2C 5.29:1 AA Lc 37.2 Non-text elements, placeholder text
#5B8D2C text on white 3.96:1 AA large text Lc 66.9 Content text, not long reading
#5B8D2C text on black 5.29:1 AA Lc -34.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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #D0DEC7

    oklch(88.4% 0.034 133)

  4. Step 300

    300

    #B1CAA1

    oklch(80.9% 0.062 133.3)

  5. Step 400

    400

    #89AE6C

    oklch(70.7% 0.1 132.3)

  6. Step 500

    500

    #6B9943

    oklch(63% 0.127 132.4)

  7. Step 600

    600 (this color)

    #5B8D2C

    oklch(58.7% 0.138 132.7)

  8. Step 700

    700

    #426F12

    oklch(49.1% 0.129 132.8)

  9. Step 800

    800

    #375B13

    oklch(42.8% 0.107 132.8)

  10. Step 900

    900

    #304B18

    oklch(37.9% 0.084 132.7)

  11. Step 950

    950

    #1C2C0F

    oklch(27.1% 0.053 132.9)

Export this scale for Tailwind in the Tailwind colors tool

#5B8D2C 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)#93821E0.079
Deuteranopia (no green cones)#8C7E340.080
Tritanopia (no blue cones)#5C87790.104
Achromatopsia (no color)#8080800.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8D2C

    #5B8D2C

    oklch(58.7% 0.138 132.7)

  • #9861B7

    #9861B7

    oklch(58.7% 0.139 312.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8D2C

    #5B8D2C

    oklch(58.7% 0.138 132.7)

  • #8B7E00

    #8B7E00

    oklch(58.7% 0.123 102.2)

  • #009366

    #009366

    oklch(58.7% 0.127 163)

Open the analogous palette in the generator

Split complementary

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

  • #5B8D2C

    #5B8D2C

    oklch(58.7% 0.138 132.7)

  • #726FCB

    #726FCB

    oklch(58.7% 0.138 282.8)

  • #B35792

    #B35792

    oklch(58.8% 0.139 343)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8D2C

    #5B8D2C

    oklch(58.7% 0.138 132.7)

  • #377FCC

    #377FCC

    oklch(58.9% 0.138 252.6)

  • #C05465

    #C05465

    oklch(58.7% 0.139 12.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8D2C

    #5B8D2C

    oklch(58.7% 0.138 132.7)

  • #008AAB

    #008AAB

    oklch(58.7% 0.109 222.5)

  • #9861B7

    #9861B7

    oklch(58.7% 0.139 312.3)

  • #BE5C31

    #BE5C31

    oklch(58.7% 0.138 42.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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