#1fe796
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 | #1fe796 | |
| RGB | rgb(31 231 150) | |
| HSL | hsl(155.7 80.65% 51.37%) | |
| OKLCH | oklch(0.82 0.18 158.56) | |
| CMYK | cmyk(86.58% 0% 35.06% 9.41%) | |
| Android | #ff1fe796 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.62:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.92: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="#1fe796"
Gradient stop
<stop stop-color="#1fe796"/>
CSS variable + fill
:root { --c: #1fe796; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1fe796; background-color: #1fe796; bg-[#1fe796]