#418e12
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 | #418e12 | |
| RGB | rgb(65 142 18) | |
| HSL | hsl(97.26 77.5% 31.37%) | |
| OKLCH | oklch(0.58 0.17 137.25) | |
| CMYK | cmyk(54.23% 0% 87.32% 44.31%) | |
| Android | #ff418e12 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.11:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.10: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="#418e12"
Gradient stop
<stop stop-color="#418e12"/>
CSS variable + fill
:root { --c: #418e12; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #418e12; background-color: #418e12; bg-[#418e12]