#978321
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 | #978321 | |
| RGB | rgb(151 131 33) | |
| HSL | hsl(49.83 64.13% 36.08%) | |
| OKLCH | oklch(0.61 0.11 96.99) | |
| CMYK | cmyk(0% 13.25% 78.15% 40.78%) | |
| Android | #ff978321 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.58: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="#978321"
Gradient stop
<stop stop-color="#978321"/>
CSS variable + fill
:root { --c: #978321; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #978321; background-color: #978321; bg-[#978321]