#5A8157

Closest named color: Dark Sage (#598556). oklch(56.3% 0.077 142.8), rgb(90, 129, 87).

Aa

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

About this color

#5A8157 is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.077 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Sage (#598556), ΔE 0.013 away. Black text reads best on it, at 4.71:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameDark Sage (#598556)
Black text4.71:1
White text4.45:1

Values

HEX#5A8157
RGBrgb(90, 129, 87)
HSLhsl(116, 19%, 42%)
OKLCHoklch(56.3% 0.077 142.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 #5A8157 4.45:1 AA large text Lc -76.3 Fine for body text
Black text on #5A8157 4.71:1 AA Lc 33.2 Non-text elements, placeholder text
#5A8157 text on white 4.45:1 AA large text Lc 70.9 Content text, not long reading
#5A8157 text on black 4.71:1 AA Lc -30.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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E6ECE6

    oklch(93.7% 0.01 145.5)

  3. Step 200

    200

    #D2DDD1

    oklch(88.6% 0.02 143)

  4. Step 300

    300

    #B4C7B2

    oklch(80.9% 0.036 142.6)

  5. Step 400

    400

    #8DAA8A

    oklch(70.7% 0.056 142.5)

  6. Step 500

    500

    #70956D

    oklch(63.1% 0.072 142.8)

  7. Step 600

    600 (this color)

    #5A8157

    oklch(56.3% 0.077 142.8)

  8. Step 700

    700

    #486B45

    oklch(49% 0.072 142.5)

  9. Step 800

    800

    #3B5739

    oklch(42.6% 0.059 142.9)

  10. Step 900

    900

    #334831

    oklch(37.7% 0.047 142.5)

  11. Step 950

    950

    #1E2A1D

    oklch(26.9% 0.029 142.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A8157 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)#837A540.058
Deuteranopia (no green cones)#7D76590.057
Tritanopia (no blue cones)#577E760.050
Achromatopsia (no color)#7777770.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A8157

    #5A8157

    oklch(56.3% 0.077 142.8)

  • #8B6690

    #8B6690

    oklch(56.3% 0.077 322.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A8157

    #5A8157

    oklch(56.3% 0.077 142.8)

  • #757A43

    #757A43

    oklch(56.2% 0.077 113.1)

  • #3F8471

    #3F8471

    oklch(56.3% 0.077 173.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A8157

    #5A8157

    oklch(56.3% 0.077 142.8)

  • #776D9F

    #776D9F

    oklch(56.4% 0.077 292.9)

  • #996279

    #996279

    oklch(56.3% 0.077 353.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A8157

    #5A8157

    oklch(56.3% 0.077 142.8)

  • #5D75A3

    #5D75A3

    oklch(56.2% 0.077 262.9)

  • #9E6360

    #9E6360

    oklch(56.3% 0.077 23)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A8157

    #5A8157

    oklch(56.3% 0.077 142.8)

  • #427D9B

    #427D9B

    oklch(56.2% 0.077 232.5)

  • #8B6690

    #8B6690

    oklch(56.3% 0.077 322.5)

  • #996849

    #996849

    oklch(56.2% 0.077 52.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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