#5B8A40

Closest named color: Fern Green (#548D44). oklch(58.2% 0.116 135.3), rgb(91, 138, 64).

Aa

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

About this color

#5B8A40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.116 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.010 away. Black text reads best on it, at 5.15:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameFern Green (#548D44)
Black text5.15:1
White text4.07:1

Values

HEX#5B8A40
RGBrgb(91, 138, 64)
HSLhsl(98, 37%, 40%)
OKLCHoklch(58.2% 0.116 135.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 #5B8A40 4.07:1 AA large text Lc -73.3 Content text, not long reading
Black text on #5B8A40 5.15:1 AA Lc 36.3 Non-text elements, placeholder text
#5B8A40 text on white 4.07:1 AA large text Lc 67.8 Content text, not long reading
#5B8A40 text on black 5.15: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

    #D1DECB

    oklch(88.6% 0.029 135.6)

  4. Step 300

    300

    #B2C9A7

    oklch(80.9% 0.053 135.5)

  5. Step 400

    400

    #8AAD78

    oklch(70.8% 0.084 135.3)

  6. Step 500

    500

    #6C9854

    oklch(63.1% 0.108 135.3)

  7. Step 600

    600 (this color)

    #5B8A40

    oklch(58.2% 0.116 135.3)

  8. Step 700

    700

    #446E2A

    oklch(49.1% 0.109 135.2)

  9. Step 800

    800

    #385A24

    oklch(42.8% 0.091 135.4)

  10. Step 900

    900

    #314A22

    oklch(37.8% 0.071 134.9)

  11. Step 950

    950

    #1D2B15

    oklch(27% 0.043 134.9)

Export this scale for Tailwind in the Tailwind colors tool

#5B8A40 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)#8F80390.073
Deuteranopia (no green cones)#887C450.073
Tritanopia (no blue cones)#5A85790.084
Achromatopsia (no color)#7E7E7E0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8A40

    #5B8A40

    oklch(58.2% 0.116 135.3)

  • #9564AA

    #9564AA

    oklch(58.2% 0.117 315.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8A40

    #5B8A40

    oklch(58.2% 0.116 135.3)

  • #857E17

    #857E17

    oklch(58.1% 0.116 105.3)

  • #16906A

    #16906A

    oklch(58.2% 0.116 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B8A40

    #5B8A40

    oklch(58.2% 0.116 135.3)

  • #756FBD

    #756FBD

    oklch(58.1% 0.118 285.6)

  • #AB5C8A

    #AB5C8A

    oklch(58.1% 0.117 345.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8A40

    #5B8A40

    oklch(58.2% 0.116 135.3)

  • #497CBE

    #497CBE

    oklch(58.1% 0.116 255.6)

  • #B55B64

    #B55B64

    oklch(58.1% 0.117 15.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8A40

    #5B8A40

    oklch(58.2% 0.116 135.3)

  • #0088AC

    #0088AC

    oklch(58.3% 0.11 224.9)

  • #9564AA

    #9564AA

    oklch(58.2% 0.117 315.2)

  • #B2623C

    #B2623C

    oklch(58.1% 0.116 45.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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