#40740a
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 | #40740a | |
| RGB | rgb(64 116 10) | |
| HSL | hsl(89.43 84.13% 24.71%) | |
| OKLCH | oklch(0.5 0.14 133.9) | |
| CMYK | cmyk(44.83% 0% 91.38% 54.51%) | |
| Android | #ff40740a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.72: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="#40740a"
Gradient stop
<stop stop-color="#40740a"/>
CSS variable + fill
:root { --c: #40740a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #40740a; background-color: #40740a; bg-[#40740a]