#9ca12e
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 | #9ca12e | |
| RGB | rgb(156 161 46) | |
| HSL | hsl(62.61 55.56% 40.59%) | |
| OKLCH | oklch(0.68 0.13 111.93) | |
| CMYK | cmyk(3.11% 0% 71.43% 36.86%) | |
| Android | #ff9ca12e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.78:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.55: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="#9ca12e"
Gradient stop
<stop stop-color="#9ca12e"/>
CSS variable + fill
:root { --c: #9ca12e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9ca12e; background-color: #9ca12e; bg-[#9ca12e]