#7c8a54
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 | #7c8a54 | |
| RGB | rgb(124 138 84) | |
| HSL | hsl(75.56 24.32% 43.53%) | |
| OKLCH | oklch(0.61 0.08 120.6) | |
| CMYK | cmyk(10.14% 0% 39.13% 45.88%) | |
| Android | #ff7c8a54 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.73:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.62: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="#7c8a54"
Gradient stop
<stop stop-color="#7c8a54"/>
CSS variable + fill
:root { --c: #7c8a54; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7c8a54; background-color: #7c8a54; bg-[#7c8a54]