#296d12
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 | #296d12 | |
| RGB | rgb(41 109 18) | |
| HSL | hsl(104.84 71.65% 24.9%) | |
| OKLCH | oklch(0.47 0.14 139.45) | |
| CMYK | cmyk(62.39% 0% 83.49% 57.25%) | |
| Android | #ff296d12 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.38:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.29:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#296d12"
Gradient stop
<stop stop-color="#296d12"/>
CSS variable + fill
:root { --c: #296d12; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #296d12; background-color: #296d12; bg-[#296d12]