#42eac4
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 | #42eac4 | |
| RGB | rgb(66 234 196) | |
| HSL | hsl(166.43 80% 58.82%) | |
| OKLCH | oklch(0.84 0.15 173.79) | |
| CMYK | cmyk(71.79% 0% 16.24% 8.24%) | |
| Android | #ff42eac4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.79: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="#42eac4"
Gradient stop
<stop stop-color="#42eac4"/>
CSS variable + fill
:root { --c: #42eac4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42eac4; background-color: #42eac4; bg-[#42eac4]