#7c8a6e
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 | #7c8a6e | |
| RGB | rgb(124 138 110) | |
| HSL | hsl(90 11.29% 48.63%) | |
| OKLCH | oklch(0.61 0.04 129.29) | |
| CMYK | cmyk(10.14% 0% 20.29% 45.88%) | |
| Android | #ff7c8a6e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.67:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.71: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="#7c8a6e"
Gradient stop
<stop stop-color="#7c8a6e"/>
CSS variable + fill
:root { --c: #7c8a6e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7c8a6e; background-color: #7c8a6e; bg-[#7c8a6e]