#978720
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 | #978720 | |
| RGB | rgb(151 135 32) | |
| HSL | hsl(51.93 65.03% 35.88%) | |
| OKLCH | oklch(0.62 0.12 99.94) | |
| CMYK | cmyk(0% 10.6% 78.81% 40.78%) | |
| Android | #ff978720 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.61:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.80: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="#978720"
Gradient stop
<stop stop-color="#978720"/>
CSS variable + fill
:root { --c: #978720; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #978720; background-color: #978720; bg-[#978720]