#1fe138
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 | #1fe138 | |
| RGB | rgb(31 225 56) | |
| HSL | hsl(127.73 76.38% 50.2%) | |
| OKLCH | oklch(0.79 0.25 143.9) | |
| CMYK | cmyk(86.22% 0% 75.11% 11.76%) | |
| Android | #ff1fe138 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.88: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="#1fe138"
Gradient stop
<stop stop-color="#1fe138"/>
CSS variable + fill
:root { --c: #1fe138; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1fe138; background-color: #1fe138; bg-[#1fe138]