#8bc31e
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 | #8bc31e | |
| RGB | rgb(139 195 30) | |
| HSL | hsl(80.36 73.33% 44.12%) | |
| OKLCH | oklch(0.75 0.19 128.01) | |
| CMYK | cmyk(28.72% 0% 84.62% 23.53%) | |
| Android | #ff8bc31e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.11:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.92: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="#8bc31e"
Gradient stop
<stop stop-color="#8bc31e"/>
CSS variable + fill
:root { --c: #8bc31e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8bc31e; background-color: #8bc31e; bg-[#8bc31e]