Skip to content
Vectorlight.net

#42ec40

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

HEX
#42ec40
RGB
66, 236, 64
HSL
119.3°, 81.9%, 58.82%
OKLCH
0.83 0.25 142.77
Names
—
Lists

Codes

FormatValue
HEX#42ec40
RGBrgb(66 236 64)
HSLhsl(119.3 81.9% 58.82%)
OKLCHoklch(0.83 0.25 142.77)
CMYKcmyk(72.03% 0% 72.88% 7.45%)
Android#ff42ec40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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