Skip to content
Vectorlight.net

#42ea8a

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

HEX
#42ea8a
RGB
66, 234, 138
HSL
145.71°, 80%, 58.82%
OKLCH
0.83 0.19 153.3
Names
—
Lists

Codes

FormatValue
HEX#42ea8a
RGBrgb(66 234 138)
HSLhsl(145.71 80% 58.82%)
OKLCHoklch(0.83 0.19 153.3)
CMYKcmyk(71.79% 0% 41.03% 8.24%)
Android#ff42ea8a

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.36: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="#42ea8a"
Gradient stop
<stop stop-color="#42ea8a"/>
CSS variable + fill
:root { --c: #42ea8a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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