#5fa246
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 | #5fa246 | |
| RGB | rgb(95 162 70) | |
| HSL | hsl(103.7 39.66% 45.49%) | |
| OKLCH | oklch(0.65 0.14 138) | |
| CMYK | cmyk(41.36% 0% 56.79% 36.47%) | |
| Android | #ff5fa246 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.11:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.74: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="#5fa246"
Gradient stop
<stop stop-color="#5fa246"/>
CSS variable + fill
:root { --c: #5fa246; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5fa246; background-color: #5fa246; bg-[#5fa246]