#5A8A2B

Closest named color: Mossy Green (#638B27). oklch(57.9% 0.136 132.3), rgb(90, 138, 43).

Aa

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

About this color

#5A8A2B is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.136 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.011 away. Black text reads best on it, at 5.10:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.10:1
White text4.11:1

Values

HEX#5A8A2B
RGBrgb(90, 138, 43)
HSLhsl(90, 52%, 35%)
OKLCHoklch(57.9% 0.136 132.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 #5A8A2B 4.11:1 AA large text Lc -73.6 Content text, not long reading
Black text on #5A8A2B 5.10:1 AA Lc 36.0 Non-text elements, placeholder text
#5A8A2B text on white 4.11:1 AA large text Lc 68.1 Content text, not long reading
#5A8A2B text on black 5.10:1 AA Lc -33.6 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

    #E5EDE1

    oklch(93.7% 0.018 134.9)

  3. Step 200

    200

    #D1DEC8

    oklch(88.5% 0.033 132.3)

  4. Step 300

    300

    #B2C9A1

    oklch(80.8% 0.06 132.1)

  5. Step 400

    400

    #89AE6D

    oklch(70.7% 0.099 132.6)

  6. Step 500

    500

    #6C9945

    oklch(63.1% 0.125 132.4)

  7. Step 600

    600 (this color)

    #5A8A2B

    oklch(57.9% 0.136 132.3)

  8. Step 700

    700

    #446F14

    oklch(49.2% 0.126 132.3)

  9. Step 800

    800

    #385A15

    oklch(42.6% 0.104 132.3)

  10. Step 900

    900

    #304A19

    oklch(37.6% 0.081 132.6)

  11. Step 950

    950

    #1D2C10

    oklch(27.2% 0.052 132.2)

Export this scale for Tailwind in the Tailwind colors tool

#5A8A2B 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)#907F1E0.077
Deuteranopia (no green cones)#897C330.077
Tritanopia (no blue cones)#5B84770.103
Achromatopsia (no color)#7D7D7D0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A8A2B

    #5A8A2B

    oklch(57.9% 0.136 132.3)

  • #955FB3

    #955FB3

    oklch(57.8% 0.136 312.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A8A2B

    #5A8A2B

    oklch(57.9% 0.136 132.3)

  • #887C00

    #887C00

    oklch(57.9% 0.122 102.7)

  • #009063

    #009063

    oklch(57.8% 0.126 162.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A8A2B

    #5A8A2B

    oklch(57.9% 0.136 132.3)

  • #6F6DC7

    #6F6DC7

    oklch(57.9% 0.136 282.3)

  • #AF5690

    #AF5690

    oklch(58% 0.135 342.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A8A2B

    #5A8A2B

    oklch(57.9% 0.136 132.3)

  • #357CC7

    #357CC7

    oklch(57.8% 0.136 252.3)

  • #BC5364

    #BC5364

    oklch(58% 0.136 12.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A8A2B

    #5A8A2B

    oklch(57.9% 0.136 132.3)

  • #0087A7

    #0087A7

    oklch(57.8% 0.107 222.2)

  • #955FB3

    #955FB3

    oklch(57.8% 0.136 312.4)

  • #BA5A32

    #BA5A32

    oklch(57.8% 0.135 42.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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