#42ef46
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 | #42ef46 | |
| RGB | rgb(66 239 70) | |
| HSL | hsl(121.39 84.39% 59.8%) | |
| OKLCH | oklch(0.83 0.25 143.19) | |
| CMYK | cmyk(72.38% 0% 70.71% 6.27%) | |
| Android | #ff42ef46 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.66: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="#42ef46"
Gradient stop
<stop stop-color="#42ef46"/>
CSS variable + fill
:root { --c: #42ef46; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42ef46; background-color: #42ef46; bg-[#42ef46]