#40792d
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 | #40792d | |
| RGB | rgb(64 121 45) | |
| HSL | hsl(105 45.78% 32.55%) | |
| OKLCH | oklch(0.52 0.12 138.66) | |
| CMYK | cmyk(47.11% 0% 62.81% 52.55%) | |
| Android | #ff40792d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.99: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="#40792d"
Gradient stop
<stop stop-color="#40792d"/>
CSS variable + fill
:root { --c: #40792d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40792d; background-color: #40792d; bg-[#40792d]