#42e873
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 | #42e873 | |
| RGB | rgb(66 232 115) | |
| HSL | hsl(137.71 78.3% 58.43%) | |
| OKLCH | oklch(0.82 0.21 148.81) | |
| CMYK | cmyk(71.55% 0% 50.43% 9.02%) | |
| Android | #ff42e873 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.61:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.02: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="#42e873"
Gradient stop
<stop stop-color="#42e873"/>
CSS variable + fill
:root { --c: #42e873; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42e873; background-color: #42e873; bg-[#42e873]