#42e758
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 | #42e758 | |
| RGB | rgb(66 231 88) | |
| HSL | hsl(128 77.46% 58.24%) | |
| OKLCH | oklch(0.82 0.23 145.01) | |
| CMYK | cmyk(71.43% 0% 61.9% 9.41%) | |
| Android | #ff42e758 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.80: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="#42e758"
Gradient stop
<stop stop-color="#42e758"/>
CSS variable + fill
:root { --c: #42e758; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42e758; background-color: #42e758; bg-[#42e758]