#42e7a8
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 | #42e7a8 | |
| RGB | rgb(66 231 168) | |
| HSL | hsl(157.09 77.46% 58.24%) | |
| OKLCH | oklch(0.83 0.16 162.8) | |
| CMYK | cmyk(71.43% 0% 27.27% 9.41%) | |
| Android | #ff42e7a8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.58:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.22: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="#42e7a8"
Gradient stop
<stop stop-color="#42e7a8"/>
CSS variable + fill
:root { --c: #42e7a8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42e7a8; background-color: #42e7a8; bg-[#42e7a8]