#5A7157

Closest named color: Dark Moss Green (#606C38). oklch(52.2% 0.048 141.8), rgb(90, 113, 87).

Aa

White text reads best on this color (5.33:1).

About this color

#5A7157 is a medium-dark, muted green. In OKLCH its lightness is 52%, its chroma 0.048 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Moss Green (#606C38), ΔE 0.039 away. White text reads best on it, at 5.33:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamuted (0.048)
Temperaturein between
Nearest nameDark Moss Green (#606C38)
Black text3.93:1
White text5.33:1

Values

HEX#5A7157
RGBrgb(90, 113, 87)
HSLhsl(113, 13%, 39%)
OKLCHoklch(52.2% 0.048 141.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 #5A7157 5.33:1 AA Lc -81.9 Fine for body text
Black text on #5A7157 3.93:1 AA large text Lc 27.5 Dividers and decoration only
#5A7157 text on white 5.33:1 AA Lc 76.6 Fine for body text
#5A7157 text on black 3.93:1 AA large text Lc -25.2 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE7

    oklch(93.6% 0.007 145.5)

  3. Step 200

    200

    #D4DBD3

    oklch(88.4% 0.013 141.8)

  4. Step 300

    300

    #B8C5B7

    oklch(80.9% 0.024 143.3)

  5. Step 400

    400

    #94A791

    oklch(70.7% 0.038 141.4)

  6. Step 500

    500

    #799176

    oklch(63% 0.048 142)

  7. Step 600

    600

    #627B5F

    oklch(55.5% 0.052 142.1)

  8. Step 700

    700 (this color)

    #5A7157

    oklch(52.2% 0.048 141.8)

  9. Step 800

    800

    #435540

    oklch(42.8% 0.041 141.1)

  10. Step 900

    900

    #384637

    oklch(37.7% 0.031 143.2)

  11. Step 950

    950

    #212920

    oklch(27% 0.02 142)

Export this scale for Tailwind in the Tailwind colors tool

#5A7157 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)#736C550.038
Deuteranopia (no green cones)#6F6A580.036
Tritanopia (no blue cones)#586F6A0.032
Achromatopsia (no color)#6B6B6B0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7157

    #5A7157

    oklch(52.2% 0.048 141.8)

  • #77617B

    #77617B

    oklch(52.3% 0.048 321.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7157

    #5A7157

    oklch(52.2% 0.048 141.8)

  • #6A6D4C

    #6A6D4C

    oklch(52.3% 0.049 112.3)

  • #4C7366

    #4C7366

    oklch(52.2% 0.049 171.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A7157

    #5A7157

    oklch(52.2% 0.048 141.8)

  • #6A6584

    #6A6584

    oklch(52.3% 0.049 292)

  • #805E6D

    #805E6D

    oklch(52.2% 0.049 350.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7157

    #5A7157

    oklch(52.2% 0.048 141.8)

  • #5A6A86

    #5A6A86

    oklch(52.2% 0.049 261.5)

  • #845F5D

    #845F5D

    oklch(52.3% 0.049 22.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7157

    #5A7157

    oklch(52.2% 0.048 141.8)

  • #4D6F81

    #4D6F81

    oklch(52.3% 0.048 232)

  • #77617B

    #77617B

    oklch(52.3% 0.048 321.1)

  • #816250

    #816250

    oklch(52.3% 0.049 51.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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