#5A7154

Closest named color: Dark Moss Green (#606C38). oklch(52.2% 0.052 139.2), rgb(90, 113, 84).

Aa

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

About this color

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

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

Values

HEX#5A7154
RGBrgb(90, 113, 84)
HSLhsl(108, 15%, 39%)
OKLCHoklch(52.2% 0.052 139.2)

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 #5A7154 5.35:1 AA Lc -82.0 Fine for body text
Black text on #5A7154 3.92:1 AA large text Lc 27.4 Dividers and decoration only
#5A7154 text on white 5.35:1 AA Lc 76.6 Fine for body text
#5A7154 text on black 3.92:1 AA large text Lc -25.1 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

    #E7EBE6

    oklch(93.6% 0.008 139.4)

  3. Step 200

    200

    #D4DBD3

    oklch(88.4% 0.013 141.8)

  4. Step 300

    300

    #B9C5B5

    oklch(81% 0.026 137.8)

  5. Step 400

    400

    #94A78F

    oklch(70.7% 0.04 139.2)

  6. Step 500

    500

    #7A9173

    oklch(63% 0.051 138.4)

  7. Step 600

    600

    #627C5C

    oklch(55.7% 0.057 139.8)

  8. Step 700

    700 (this color)

    #5A7154

    oklch(52.2% 0.052 139.2)

  9. Step 800

    800

    #43553E

    oklch(42.7% 0.043 138.9)

  10. Step 900

    900

    #384635

    oklch(37.6% 0.034 140.1)

  11. Step 950

    950

    #21291F

    oklch(27% 0.021 139.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A7154 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)#736C520.038
Deuteranopia (no green cones)#6F6A550.036
Tritanopia (no blue cones)#596F690.035
Achromatopsia (no color)#6B6B6B0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7154

    #5A7154

    oklch(52.2% 0.052 139.2)

  • #77607D

    #77607D

    oklch(52.2% 0.053 319.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7154

    #5A7154

    oklch(52.2% 0.052 139.2)

  • #6B6C49

    #6B6C49

    oklch(52.1% 0.052 109.4)

  • #4A7364

    #4A7364

    oklch(52% 0.052 169.3)

Open the analogous palette in the generator

Split complementary

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

  • #5A7154

    #5A7154

    oklch(52.2% 0.052 139.2)

  • #686586

    #686586

    oklch(52.2% 0.052 288.6)

  • #815D6E

    #815D6E

    oklch(52.1% 0.053 349.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7154

    #5A7154

    oklch(52.2% 0.052 139.2)

  • #576A88

    #576A88

    oklch(52.1% 0.053 259.4)

  • #855D5D

    #855D5D

    oklch(52.1% 0.053 19)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7154

    #5A7154

    oklch(52.2% 0.052 139.2)

  • #496F82

    #496F82

    oklch(52.1% 0.052 230.7)

  • #77607D

    #77607D

    oklch(52.2% 0.053 319.2)

  • #83614F

    #83614F

    oklch(52.3% 0.052 49.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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