#8a8022
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 | #8a8022 | |
| RGB | rgb(138 128 34) | |
| HSL | hsl(54.23 60.47% 33.73%) | |
| OKLCH | oklch(0.59 0.11 103.09) | |
| CMYK | cmyk(0% 7.25% 75.36% 45.88%) | |
| Android | #ff8a8022 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.19: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="#8a8022"
Gradient stop
<stop stop-color="#8a8022"/>
CSS variable + fill
:root { --c: #8a8022; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a8022; background-color: #8a8022; bg-[#8a8022]