Skip to content
Vectorlight.net

#51985a

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

HEX
#51985a
RGB
81, 152, 90
HSL
127.61°, 30.47%, 45.69%
OKLCH
0.62 0.12 146.78
Names
—
Lists

Codes

FormatValue
HEX#51985a
RGBrgb(81 152 90)
HSLhsl(127.61 30.47% 45.69%)
OKLCHoklch(0.62 0.12 146.78)
CMYKcmyk(46.71% 0% 40.79% 40.39%)
Android#ff51985a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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