Skip to content
Vectorlight.net

#42cebb

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

HEX
#42cebb
RGB
66, 206, 187
HSL
171.86°, 58.82%, 53.33%
OKLCH
0.77 0.12 182.14
Names
—
Lists

Codes

FormatValue
HEX#42cebb
RGBrgb(66 206 187)
HSLhsl(171.86 58.82% 53.33%)
OKLCHoklch(0.77 0.12 182.14)
CMYKcmyk(67.96% 0% 9.22% 19.22%)
Android#ff42cebb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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