#5B8A38

Closest named color: Moss Green (#658B38). oklch(58.1% 0.124 133.8), rgb(91, 138, 56).

Aa

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

About this color

#5B8A38 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.124 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss Green (#658B38), ΔE 0.013 away. Black text reads best on it, at 5.13:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameMoss Green (#658B38)
Black text5.13:1
White text4.08:1

Values

HEX#5B8A38
RGBrgb(91, 138, 56)
HSLhsl(94, 42%, 38%)
OKLCHoklch(58.1% 0.124 133.8)

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 #5B8A38 4.08:1 AA large text Lc -73.4 Content text, not long reading
Black text on #5B8A38 5.13:1 AA Lc 36.2 Non-text elements, placeholder text
#5B8A38 text on white 4.08:1 AA large text Lc 67.9 Content text, not long reading
#5B8A38 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5ECE2

    oklch(93.5% 0.015 136.1)

  3. Step 200

    200

    #D1DEC9

    oklch(88.5% 0.032 133.3)

  4. Step 300

    300

    #B2C9A5

    oklch(80.9% 0.055 134.2)

  5. Step 400

    400

    #8AAD73

    oklch(70.7% 0.09 133.5)

  6. Step 500

    500

    #6C984E

    oklch(63% 0.114 133.9)

  7. Step 600

    600 (this color)

    #5B8A38

    oklch(58.1% 0.124 133.8)

  8. Step 700

    700

    #446E23

    oklch(49% 0.115 133.9)

  9. Step 800

    800

    #385A1F

    oklch(42.7% 0.096 134.1)

  10. Step 900

    900

    #314A1F

    oklch(37.7% 0.074 133.7)

  11. Step 950

    950

    #1D2B13

    oklch(26.9% 0.046 133.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B8A38 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)#8F802F0.073
Deuteranopia (no green cones)#887C3E0.074
Tritanopia (no blue cones)#5B85780.091
Achromatopsia (no color)#7E7E7E0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8A38

    #5B8A38

    oklch(58.1% 0.124 133.8)

  • #9562AE

    #9562AE

    oklch(58.1% 0.125 313.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8A38

    #5B8A38

    oklch(58.1% 0.124 133.8)

  • #877D00

    #877D00

    oklch(58% 0.123 103.9)

  • #009166

    #009166

    oklch(58.1% 0.124 163.7)

Open the analogous palette in the generator

Split complementary

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

  • #5B8A38

    #5B8A38

    oklch(58.1% 0.124 133.8)

  • #726FC1

    #726FC1

    oklch(58.1% 0.124 283.5)

  • #AC5A8D

    #AC5A8D

    oklch(58.1% 0.124 343.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8A38

    #5B8A38

    oklch(58.1% 0.124 133.8)

  • #417DC2

    #417DC2

    oklch(58.2% 0.124 253.5)

  • #B85864

    #B85864

    oklch(58.1% 0.124 14)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8A38

    #5B8A38

    oklch(58.1% 0.124 133.8)

  • #0088AA

    #0088AA

    oklch(58.2% 0.109 223.5)

  • #9562AE

    #9562AE

    oklch(58.1% 0.125 313.9)

  • #B65F38

    #B65F38

    oklch(58.1% 0.124 43.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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