#2fa12d
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 | #2fa12d | |
| RGB | rgb(47 161 45) | |
| HSL | hsl(118.97 56.31% 40.39%) | |
| OKLCH | oklch(0.62 0.18 142.77) | |
| CMYK | cmyk(70.81% 0% 72.05% 36.86%) | |
| Android | #ff2fa12d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.25: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="#2fa12d"
Gradient stop
<stop stop-color="#2fa12d"/>
CSS variable + fill
:root { --c: #2fa12d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2fa12d; background-color: #2fa12d; bg-[#2fa12d]