#5fa52f
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 | #5fa52f | |
| RGB | rgb(95 165 47) | |
| HSL | hsl(95.59 55.66% 41.57%) | |
| OKLCH | oklch(0.65 0.17 135.3) | |
| CMYK | cmyk(42.42% 0% 71.52% 35.29%) | |
| Android | #ff5fa52f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.90: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="#5fa52f"
Gradient stop
<stop stop-color="#5fa52f"/>
CSS variable + fill
:root { --c: #5fa52f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5fa52f; background-color: #5fa52f; bg-[#5fa52f]