#8a9231
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 | #8a9231 | |
| RGB | rgb(138 146 49) | |
| HSL | hsl(64.95 49.74% 38.24%) | |
| OKLCH | oklch(0.63 0.12 113.83) | |
| CMYK | cmyk(5.48% 0% 66.44% 42.75%) | |
| Android | #ff8a9231 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.23: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="#8a9231"
Gradient stop
<stop stop-color="#8a9231"/>
CSS variable + fill
:root { --c: #8a9231; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a9231; background-color: #8a9231; bg-[#8a9231]