#8bc31f
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 | #8bc31f | |
| RGB | rgb(139 195 31) | |
| HSL | hsl(80.49 72.57% 44.31%) | |
| OKLCH | oklch(0.75 0.19 128.04) | |
| CMYK | cmyk(28.72% 0% 84.1% 23.53%) | |
| Android | #ff8bc31f |
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="#8bc31f"
Gradient stop
<stop stop-color="#8bc31f"/>
CSS variable + fill
:root { --c: #8bc31f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8bc31f; background-color: #8bc31f; bg-[#8bc31f]