#5A8A40

Closest named color: Fern Green (#548D44). oklch(58.1% 0.117 135.7), rgb(90, 138, 64).

Aa

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

About this color

#5A8A40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.117 and its hue 136°. 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.14:1.

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

Values

HEX#5A8A40
RGBrgb(90, 138, 64)
HSLhsl(99, 37%, 40%)
OKLCHoklch(58.1% 0.117 135.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 #5A8A40 4.08:1 AA large text Lc -73.4 Content text, not long reading
Black text on #5A8A40 5.14:1 AA Lc 36.2 Non-text elements, placeholder text
#5A8A40 text on white 4.08:1 AA large text Lc 67.9 Content text, not long reading
#5A8A40 text on black 5.14: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

    #89AD78

    oklch(70.7% 0.084 135.9)

  6. Step 500

    500

    #6B9854

    oklch(63% 0.108 135.8)

  7. Step 600

    600 (this color)

    #5A8A40

    oklch(58.1% 0.117 135.7)

  8. Step 700

    700

    #436E2B

    oklch(49.1% 0.108 135.8)

  9. Step 800

    800

    #375A24

    oklch(42.7% 0.091 135.9)

  10. Step 900

    900

    #304A23

    oklch(37.7% 0.07 136)

  11. Step 950

    950

    #1C2B15

    oklch(26.9% 0.044 136.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A8A40 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)#8E80390.073
Deuteranopia (no green cones)#887C450.074
Tritanopia (no blue cones)#5985790.084
Achromatopsia (no color)#7E7E7E0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A8A40

    #5A8A40

    oklch(58.1% 0.117 135.7)

  • #9564A9

    #9564A9

    oklch(58.2% 0.116 315.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A8A40

    #5A8A40

    oklch(58.1% 0.117 135.7)

  • #857E16

    #857E16

    oklch(58.1% 0.117 105.3)

  • #12906A

    #12906A

    oklch(58.1% 0.117 165.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A8A40

    #5A8A40

    oklch(58.1% 0.117 135.7)

  • #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.

  • #5A8A40

    #5A8A40

    oklch(58.1% 0.117 135.7)

  • #497CBF

    #497CBF

    oklch(58.2% 0.117 255.9)

  • #B55B63

    #B55B63

    oklch(58.1% 0.117 15.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A8A40

    #5A8A40

    oklch(58.1% 0.117 135.7)

  • #0087AC

    #0087AC

    oklch(58% 0.111 225.7)

  • #9564A9

    #9564A9

    oklch(58.2% 0.116 315.7)

  • #B2623B

    #B2623B

    oklch(58.1% 0.116 45.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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