#297916
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 | #297916 | |
| RGB | rgb(41 121 22) | |
| HSL | hsl(108.48 69.23% 28.04%) | |
| OKLCH | oklch(0.51 0.15 140.46) | |
| CMYK | cmyk(66.12% 0% 81.82% 52.55%) | |
| Android | #ff297916 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.46:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.84: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="#297916"
Gradient stop
<stop stop-color="#297916"/>
CSS variable + fill
:root { --c: #297916; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #297916; background-color: #297916; bg-[#297916]