#2fa13c
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 | #2fa13c | |
| RGB | rgb(47 161 60) | |
| HSL | hsl(126.84 54.81% 40.78%) | |
| OKLCH | oklch(0.62 0.17 144.82) | |
| CMYK | cmyk(70.81% 0% 62.73% 36.86%) | |
| Android | #ff2fa13c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.28: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="#2fa13c"
Gradient stop
<stop stop-color="#2fa13c"/>
CSS variable + fill
:root { --c: #2fa13c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2fa13c; background-color: #2fa13c; bg-[#2fa13c]