#5fb211
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 | #5fb211 | |
| RGB | rgb(95 178 17) | |
| HSL | hsl(90.93 82.56% 38.24%) | |
| OKLCH | oklch(0.68 0.19 134.96) | |
| CMYK | cmyk(46.63% 0% 90.45% 30.2%) | |
| Android | #ff5fb211 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.86: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="#5fb211"
Gradient stop
<stop stop-color="#5fb211"/>
CSS variable + fill
:root { --c: #5fb211; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5fb211; background-color: #5fb211; bg-[#5fb211]