#8a8f4c
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 | #8a8f4c | |
| RGB | rgb(138 143 76) | |
| HSL | hsl(64.48 30.59% 42.94%) | |
| OKLCH | oklch(0.63 0.09 112.46) | |
| CMYK | cmyk(3.5% 0% 46.85% 43.92%) | |
| Android | #ff8a8f4c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.43:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.11: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="#8a8f4c"
Gradient stop
<stop stop-color="#8a8f4c"/>
CSS variable + fill
:root { --c: #8a8f4c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a8f4c; background-color: #8a8f4c; bg-[#8a8f4c]