Skip to content
Vectorlight.net

#5a997b

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#5a997b
RGB
90, 153, 123
HSL
151.43°, 25.93%, 47.65%
OKLCH
0.63 0.08 162.28
Names
—
Lists

Codes

FormatValue
HEX#5a997b
RGBrgb(90 153 123)
HSLhsl(151.43 25.93% 47.65%)
OKLCHoklch(0.63 0.08 162.28)
CMYKcmyk(41.18% 0% 19.61% 40%)
Android#ff5a997b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.27:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#5a997b"
Gradient stop
<stop stop-color="#5a997b"/>
CSS variable + fill
:root { --c: #5a997b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #5a997b;
background-color: #5a997b;
bg-[#5a997b]