Skip to content
Vectorlight.net

#42ec2d

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

HEX
#42ec2d
RGB
66, 236, 45
HSL
113.4°, 83.41%, 55.1%
OKLCH
0.83 0.26 141.67
Names
—
Lists

Codes

FormatValue
HEX#42ec2d
RGBrgb(66 236 45)
HSLhsl(113.4 83.41% 55.1%)
OKLCHoklch(0.83 0.26 141.67)
CMYKcmyk(72.03% 0% 80.93% 7.45%)
Android#ff42ec2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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