#4f970a
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 | #4f970a | |
| RGB | rgb(79 151 10) | |
| HSL | hsl(90.64 87.58% 31.57%) | |
| OKLCH | oklch(0.61 0.17 135.01) | |
| CMYK | cmyk(47.68% 0% 93.38% 40.78%) | |
| Android | #ff4f970a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.64:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.76: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="#4f970a"
Gradient stop
<stop stop-color="#4f970a"/>
CSS variable + fill
:root { --c: #4f970a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4f970a; background-color: #4f970a; bg-[#4f970a]