#1fc71b
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 | #1fc71b | |
| RGB | rgb(31 199 27) | |
| HSL | hsl(118.6 76.11% 44.31%) | |
| OKLCH | oklch(0.72 0.24 142.48) | |
| CMYK | cmyk(84.42% 0% 86.43% 21.96%) | |
| Android | #ff1fc71b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.27:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.24: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="#1fc71b"
Gradient stop
<stop stop-color="#1fc71b"/>
CSS variable + fill
:root { --c: #1fc71b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1fc71b; background-color: #1fc71b; bg-[#1fc71b]