Skip to content
Vectorlight.net

#42ffcc

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

HEX
#42ffcc
RGB
66, 255, 204
HSL
163.81°, 100%, 62.94%
OKLCH
0.9 0.16 169.92
Names
—
Lists

Codes

FormatValue
HEX#42ffcc
RGBrgb(66 255 204)
HSLhsl(163.81 100% 62.94%)
OKLCHoklch(0.9 0.16 169.92)
CMYKcmyk(74.12% 0% 20% 0%)
Android#ff42ffcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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