#5c8708
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 | #5c8708 | |
| RGB | rgb(92 135 8) | |
| HSL | hsl(80.31 88.81% 28.04%) | |
| OKLCH | oklch(0.57 0.15 128.77) | |
| CMYK | cmyk(31.85% 0% 94.07% 47.06%) | |
| Android | #ff5c8708 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.26:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.92: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="#5c8708"
Gradient stop
<stop stop-color="#5c8708"/>
CSS variable + fill
:root { --c: #5c8708; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5c8708; background-color: #5c8708; bg-[#5c8708]