#8bc42e
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 | #8bc42e | |
| RGB | rgb(139 196 46) | |
| HSL | hsl(82.8 61.98% 47.45%) | |
| OKLCH | oklch(0.75 0.18 128.78) | |
| CMYK | cmyk(29.08% 0% 76.53% 23.14%) | |
| Android | #ff8bc42e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.09:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.03: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="#8bc42e"
Gradient stop
<stop stop-color="#8bc42e"/>
CSS variable + fill
:root { --c: #8bc42e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8bc42e; background-color: #8bc42e; bg-[#8bc42e]