#396f17
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 | #396f17 | |
| RGB | rgb(57 111 23) | |
| HSL | hsl(96.82 65.67% 26.27%) | |
| OKLCH | oklch(0.49 0.13 136.22) | |
| CMYK | cmyk(48.65% 0% 79.28% 56.47%) | |
| Android | #ff396f17 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.06:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.46: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="#396f17"
Gradient stop
<stop stop-color="#396f17"/>
CSS variable + fill
:root { --c: #396f17; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #396f17; background-color: #396f17; bg-[#396f17]