#42da7e
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 | #42da7e | |
| RGB | rgb(66 218 126) | |
| HSL | hsl(143.68 67.26% 55.69%) | |
| OKLCH | oklch(0.79 0.18 152.37) | |
| CMYK | cmyk(69.72% 0% 42.2% 14.51%) | |
| Android | #ff42da7e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.56: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="#42da7e"
Gradient stop
<stop stop-color="#42da7e"/>
CSS variable + fill
:root { --c: #42da7e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42da7e; background-color: #42da7e; bg-[#42da7e]