#2fa10b
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 | #2fa10b | |
| RGB | rgb(47 161 11) | |
| HSL | hsl(105.6 87.21% 33.73%) | |
| OKLCH | oklch(0.62 0.2 140.44) | |
| CMYK | cmyk(70.81% 0% 93.17% 36.86%) | |
| Android | #ff2fa10b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.37:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.22: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="#2fa10b"
Gradient stop
<stop stop-color="#2fa10b"/>
CSS variable + fill
:root { --c: #2fa10b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2fa10b; background-color: #2fa10b; bg-[#2fa10b]