#5B8D38

Closest named color: Moss Green (#658B38). oklch(58.9% 0.128 134.3), rgb(91, 141, 56).

Aa

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

About this color

#5B8D38 is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.128 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.31:1.

Hue familyGreens
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameMoss Green (#658B38)
Black text5.31:1
White text3.95:1

Values

HEX#5B8D38
RGBrgb(91, 141, 56)
HSLhsl(95, 43%, 39%)
OKLCHoklch(58.9% 0.128 134.3)

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 #5B8D38 3.95:1 AA large text Lc -72.3 Content text, not long reading
Black text on #5B8D38 5.31:1 AA Lc 37.3 Non-text elements, placeholder text
#5B8D38 text on white 3.95:1 AA large text Lc 66.8 Content text, not long reading
#5B8D38 text on black 5.31:1 AA Lc -34.9 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

    #E5ECE1

    oklch(93.5% 0.016 133.8)

  3. Step 200

    200

    #D0DEC9

    oklch(88.4% 0.032 135)

  4. Step 300

    300

    #B1C9A4

    oklch(80.8% 0.057 134.6)

  5. Step 400

    400

    #88AE72

    oklch(70.8% 0.094 134.6)

  6. Step 500

    500

    #6A994C

    oklch(63.1% 0.119 134.5)

  7. Step 600

    600 (this color)

    #5B8D38

    oklch(58.9% 0.128 134.3)

  8. Step 700

    700

    #426F20

    oklch(49.2% 0.12 134.4)

  9. Step 800

    800

    #375A1D

    oklch(42.6% 0.098 134.2)

  10. Step 900

    900

    #304A1D

    oklch(37.6% 0.077 133.8)

  11. Step 950

    950

    #1C2C12

    oklch(27.1% 0.05 134.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B8D38 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)#92832F0.076
Deuteranopia (no green cones)#8B7E3E0.078
Tritanopia (no blue cones)#5B887B0.094
Achromatopsia (no color)#8080800.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8D38

    #5B8D38

    oklch(58.9% 0.128 134.3)

  • #9963B1

    #9963B1

    oklch(58.8% 0.129 314.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8D38

    #5B8D38

    oklch(58.9% 0.128 134.3)

  • #898000

    #898000

    oklch(58.9% 0.125 104.7)

  • #009369

    #009369

    oklch(58.7% 0.124 164.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B8D38

    #5B8D38

    oklch(58.9% 0.128 134.3)

  • #7570C6

    #7570C6

    oklch(58.8% 0.129 284.3)

  • #B15B8F

    #B15B8F

    oklch(59% 0.128 344.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8D38

    #5B8D38

    oklch(58.9% 0.128 134.3)

  • #427FC7

    #427FC7

    oklch(59% 0.128 254)

  • #BC5965

    #BC5965

    oklch(58.9% 0.128 14.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8D38

    #5B8D38

    oklch(58.9% 0.128 134.3)

  • #008AAE

    #008AAE

    oklch(58.9% 0.111 224.6)

  • #9963B1

    #9963B1

    oklch(58.8% 0.129 314.8)

  • #BA6036

    #BA6036

    oklch(58.8% 0.129 44.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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