#7e8946
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 | #7e8946 | |
| RGB | rgb(126 137 70) | |
| HSL | hsl(69.85 32.37% 40.59%) | |
| OKLCH | oklch(0.61 0.09 116.91) | |
| CMYK | cmyk(8.03% 0% 48.91% 46.27%) | |
| Android | #ff7e8946 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.55: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="#7e8946"
Gradient stop
<stop stop-color="#7e8946"/>
CSS variable + fill
:root { --c: #7e8946; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7e8946; background-color: #7e8946; bg-[#7e8946]