#5B8A2A

Closest named color: Mossy Green (#638B27). oklch(57.9% 0.136 131.9), rgb(91, 138, 42).

Aa

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

About this color

#5B8A2A is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.136 and its hue 132°. 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.11:1.

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

Values

HEX#5B8A2A
RGBrgb(91, 138, 42)
HSLhsl(89, 53%, 35%)
OKLCHoklch(57.9% 0.136 131.9)

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 #5B8A2A 4.10:1 AA large text Lc -73.5 Content text, not long reading
Black text on #5B8A2A 5.11:1 AA Lc 36.0 Non-text elements, placeholder text
#5B8A2A text on white 4.10:1 AA large text Lc 68.0 Content text, not long reading
#5B8A2A text on black 5.11:1 AA Lc -33.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

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B2C9A1

    oklch(80.8% 0.06 132.1)

  5. Step 400

    400

    #8AAE6D

    oklch(70.8% 0.098 132)

  6. Step 500

    500

    #6D9944

    oklch(63.2% 0.125 131.8)

  7. Step 600

    600 (this color)

    #5B8A2A

    oklch(57.9% 0.136 131.9)

  8. Step 700

    700

    #456F13

    oklch(49.2% 0.126 131.8)

  9. Step 800

    800

    #395A14

    oklch(42.7% 0.104 131.7)

  10. Step 900

    900

    #314A18

    oklch(37.6% 0.081 131.7)

  11. Step 950

    950

    #1D2C0F

    oklch(27.1% 0.053 131.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B8A2A 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)#90801C0.075
Deuteranopia (no green cones)#897C320.075
Tritanopia (no blue cones)#5C84770.104
Achromatopsia (no color)#7D7D7D0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8A2A

    #5B8A2A

    oklch(57.9% 0.136 131.9)

  • #9560B4

    #9560B4

    oklch(58% 0.136 311.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8A2A

    #5B8A2A

    oklch(57.9% 0.136 131.9)

  • #897C00

    #897C00

    oklch(58% 0.121 102.1)

  • #009162

    #009162

    oklch(58% 0.128 161.7)

Open the analogous palette in the generator

Split complementary

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

  • #5B8A2A

    #5B8A2A

    oklch(57.9% 0.136 131.9)

  • #6F6DC8

    #6F6DC8

    oklch(57.9% 0.137 282.2)

  • #AF5691

    #AF5691

    oklch(58% 0.136 341.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8A2A

    #5B8A2A

    oklch(57.9% 0.136 131.9)

  • #347DC7

    #347DC7

    oklch(58% 0.135 251.6)

  • #BC5365

    #BC5365

    oklch(58% 0.136 11.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8A2A

    #5B8A2A

    oklch(57.9% 0.136 131.9)

  • #0088A7

    #0088A7

    oklch(58.1% 0.107 221.4)

  • #9560B4

    #9560B4

    oklch(58% 0.136 311.9)

  • #BB5A32

    #BB5A32

    oklch(57.9% 0.136 41.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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