#5A8945

Closest named color: Fern Green (#548D44). oklch(58% 0.11 136.8), rgb(90, 137, 69).

Aa

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

About this color

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

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

Values

HEX#5A8945
RGBrgb(90, 137, 69)
HSLhsl(101, 33%, 40%)
OKLCHoklch(58% 0.11 136.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 #5A8945 4.11:1 AA large text Lc -73.7 Content text, not long reading
Black text on #5A8945 5.09:1 AA Lc 35.9 Non-text elements, placeholder text
#5A8945 text on white 4.11:1 AA large text Lc 68.2 Content text, not long reading
#5A8945 text on black 5.09:1 AA Lc -33.5 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

    #F3F6F2

    oklch(97% 0.006 137.8)

  2. Step 100

    100

    #E5ECE3

    oklch(93.5% 0.014 138.7)

  3. Step 200

    200

    #D1DECC

    oklch(88.6% 0.028 136.9)

  4. Step 300

    300

    #B2C9A9

    oklch(81% 0.051 136.9)

  5. Step 400

    400

    #8AAC7B

    oklch(70.6% 0.079 136.3)

  6. Step 500

    500

    #6C9859

    oklch(63.2% 0.102 136.7)

  7. Step 600

    600 (this color)

    #5A8945

    oklch(58% 0.11 136.8)

  8. Step 700

    700

    #446E30

    oklch(49.2% 0.103 136.6)

  9. Step 800

    800

    #385929

    oklch(42.6% 0.084 136.7)

  10. Step 900

    900

    #304A25

    oklch(37.8% 0.068 137)

  11. Step 950

    950

    #1D2B16

    oklch(27% 0.042 135.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A8945 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)#8D803F0.071
Deuteranopia (no green cones)#867B490.072
Tritanopia (no blue cones)#5885790.077
Achromatopsia (no color)#7D7D7D0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A8945

    #5A8945

    oklch(58% 0.11 136.8)

  • #9464A5

    #9464A5

    oklch(57.8% 0.11 316.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A8945

    #5A8945

    oklch(58% 0.11 136.8)

  • #827E22

    #827E22

    oklch(57.9% 0.11 106.9)

  • #1F8F6C

    #1F8F6C

    oklch(58.1% 0.111 166.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A8945

    #5A8945

    oklch(58% 0.11 136.8)

  • #766FB8

    #766FB8

    oklch(58% 0.11 286.8)

  • #A95E87

    #A95E87

    oklch(58.1% 0.11 347.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A8945

    #5A8945

    oklch(58% 0.11 136.8)

  • #4D7BBB

    #4D7BBB

    oklch(57.9% 0.111 256.9)

  • #B25D63

    #B25D63

    oklch(58% 0.11 16.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A8945

    #5A8945

    oklch(58% 0.11 136.8)

  • #0786AC

    #0786AC

    oklch(57.8% 0.11 226.9)

  • #9464A5

    #9464A5

    oklch(57.8% 0.11 316.9)

  • #AF643D

    #AF643D

    oklch(58% 0.111 47.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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