Skip to content
Vectorlight.net

#51ff42

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

HEX
#51ff42
RGB
81, 255, 66
HSL
115.24°, 100%, 62.94%
OKLCH
0.88 0.26 141.98
Names
—
Lists

Codes

FormatValue
HEX#51ff42
RGBrgb(81 255 66)
HSLhsl(115.24 100% 62.94%)
OKLCHoklch(0.88 0.26 141.98)
CMYKcmyk(68.24% 0% 74.12% 0%)
Android#ff51ff42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51ff42;
background-color: #51ff42;
bg-[#51ff42]