#316618
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 | #316618 | |
| RGB | rgb(49 102 24) | |
| HSL | hsl(100.77 61.9% 24.71%) | |
| OKLCH | oklch(0.46 0.12 137.6) | |
| CMYK | cmyk(51.96% 0% 76.47% 60%) | |
| Android | #ff316618 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.04: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="#316618"
Gradient stop
<stop stop-color="#316618"/>
CSS variable + fill
:root { --c: #316618; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #316618; background-color: #316618; bg-[#316618]