#799d2b
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 | #799d2b | |
| RGB | rgb(121 157 43) | |
| HSL | hsl(78.95 57% 39.22%) | |
| OKLCH | oklch(0.65 0.14 125.64) | |
| CMYK | cmyk(22.93% 0% 72.61% 38.43%) | |
| Android | #ff799d2b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.14:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.67: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="#799d2b"
Gradient stop
<stop stop-color="#799d2b"/>
CSS variable + fill
:root { --c: #799d2b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #799d2b; background-color: #799d2b; bg-[#799d2b]