#1fac18
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 | #1fac18 | |
| RGB | rgb(31 172 24) | |
| HSL | hsl(117.16 75.51% 38.43%) | |
| OKLCH | oklch(0.65 0.21 142.31) | |
| CMYK | cmyk(81.98% 0% 86.05% 32.55%) | |
| Android | #ff1fac18 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.97: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="#1fac18"
Gradient stop
<stop stop-color="#1fac18"/>
CSS variable + fill
:root { --c: #1fac18; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1fac18; background-color: #1fac18; bg-[#1fac18]