#797e71
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 | #797e71 | |
| RGB | rgb(121 126 113) | |
| HSL | hsl(83.08 5.44% 46.86%) | |
| OKLCH | oklch(0.58 0.02 124.21) | |
| CMYK | cmyk(3.97% 0% 10.32% 50.59%) | |
| Android | #ff797e71 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.17:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.03: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="#797e71"
Gradient stop
<stop stop-color="#797e71"/>
CSS variable + fill
:root { --c: #797e71; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #797e71; background-color: #797e71; bg-[#797e71]