#42f660
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 | #42f660 | |
| RGB | rgb(66 246 96) | |
| HSL | hsl(130 90.91% 61.18%) | |
| OKLCH | oklch(0.85 0.24 145.5) | |
| CMYK | cmyk(73.17% 0% 60.98% 3.53%) | |
| Android | #ff42f660 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.44:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.58: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="#42f660"
Gradient stop
<stop stop-color="#42f660"/>
CSS variable + fill
:root { --c: #42f660; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42f660; background-color: #42f660; bg-[#42f660]