Skip to content
Vectorlight.net

#42de2c

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

HEX
#42de2c
RGB
66, 222, 44
HSL
112.58°, 72.95%, 52.16%
OKLCH
0.79 0.24 141.49
Names
—
Lists

Codes

FormatValue
HEX#42de2c
RGBrgb(66 222 44)
HSLhsl(112.58 72.95% 52.16%)
OKLCHoklch(0.79 0.24 141.49)
CMYKcmyk(70.27% 0% 80.18% 12.94%)
Android#ff42de2c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42de2c;
background-color: #42de2c;
bg-[#42de2c]