#796f2c
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 | #796f2c | |
| RGB | rgb(121 111 44) | |
| HSL | hsl(52.21 46.67% 32.35%) | |
| OKLCH | oklch(0.54 0.09 100.86) | |
| CMYK | cmyk(0% 8.26% 63.64% 52.55%) | |
| Android | #ff796f2c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#796f2c"
Gradient stop
<stop stop-color="#796f2c"/>
CSS variable + fill
:root { --c: #796f2c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #796f2c; background-color: #796f2c; bg-[#796f2c]