#2fe71a
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 | #2fe71a | |
| RGB | rgb(47 231 26) | |
| HSL | hsl(113.85 81.03% 50.39%) | |
| OKLCH | oklch(0.81 0.26 141.9) | |
| CMYK | cmyk(79.65% 0% 88.74% 9.41%) | |
| Android | #ff2fe71a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.56: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="#2fe71a"
Gradient stop
<stop stop-color="#2fe71a"/>
CSS variable + fill
:root { --c: #2fe71a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2fe71a; background-color: #2fe71a; bg-[#2fe71a]