Skip to content
Vectorlight.net

#51987a

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

HEX
#51987a
RGB
81, 152, 122
HSL
154.65°, 30.47%, 45.69%
OKLCH
0.62 0.09 164.48
Names
—
Lists

Codes

FormatValue
HEX#51987a
RGBrgb(81 152 122)
HSLhsl(154.65 30.47% 45.69%)
OKLCHoklch(0.62 0.09 164.48)
CMYKcmyk(46.71% 0% 19.74% 40.39%)
Android#ff51987a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.43:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.12: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="#51987a"
Gradient stop
<stop stop-color="#51987a"/>
CSS variable + fill
:root { --c: #51987a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #51987a;
background-color: #51987a;
bg-[#51987a]