#4b970f
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 | #4b970f | |
| RGB | rgb(75 151 15) | |
| HSL | hsl(93.53 81.93% 32.55%) | |
| OKLCH | oklch(0.6 0.17 136) | |
| CMYK | cmyk(50.33% 0% 90.07% 40.78%) | |
| Android | #ff4b970f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.66:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.73: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="#4b970f"
Gradient stop
<stop stop-color="#4b970f"/>
CSS variable + fill
:root { --c: #4b970f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4b970f; background-color: #4b970f; bg-[#4b970f]