#42ef75
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 | #42ef75 | |
| RGB | rgb(66 239 117) | |
| HSL | hsl(137.69 84.39% 59.8%) | |
| OKLCH | oklch(0.84 0.22 148.68) | |
| CMYK | cmyk(72.38% 0% 51.05% 6.27%) | |
| Android | #ff42ef75 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.51:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.83: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="#42ef75"
Gradient stop
<stop stop-color="#42ef75"/>
CSS variable + fill
:root { --c: #42ef75; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42ef75; background-color: #42ef75; bg-[#42ef75]