#12e31c
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 | #12e31c | |
| RGB | rgb(18 227 28) | |
| HSL | hsl(122.87 85.31% 48.04%) | |
| OKLCH | oklch(0.79 0.26 142.81) | |
| CMYK | cmyk(92.07% 0% 87.67% 10.98%) | |
| Android | #ff12e31c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.74:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.03: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="#12e31c"
Gradient stop
<stop stop-color="#12e31c"/>
CSS variable + fill
:root { --c: #12e31c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #12e31c; background-color: #12e31c; bg-[#12e31c]