#42cca2
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #42cca2 | |
| RGB | rgb(66 204 162) | |
| HSL | hsl(161.74 57.5% 52.94%) | |
| OKLCH | oklch(0.76 0.13 168.61) | |
| CMYK | cmyk(67.65% 0% 20.59% 20%) | |
| Android | #ff42cca2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.02:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.39:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#42cca2"
Gradient stop
<stop stop-color="#42cca2"/>
CSS variable + fill
:root { --c: #42cca2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42cca2; background-color: #42cca2; bg-[#42cca2]