Skip to content
Vectorlight.net

#42ecc6

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

HEX
#42ecc6
RGB
66, 236, 198
HSL
166.59°, 81.73%, 59.22%
OKLCH
0.85 0.15 173.97
Names
—
Lists

Codes

FormatValue
HEX#42ecc6
RGBrgb(66 236 198)
HSLhsl(166.59 81.73% 59.22%)
OKLCHoklch(0.85 0.15 173.97)
CMYKcmyk(72.03% 0% 16.1% 7.45%)
Android#ff42ecc6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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