#15741f
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 | #15741f | |
| RGB | rgb(21 116 31) | |
| HSL | hsl(126.32 69.34% 26.86%) | |
| OKLCH | oklch(0.49 0.15 144.12) | |
| CMYK | cmyk(81.9% 0% 73.28% 54.51%) | |
| Android | #ff15741f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.54: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="#15741f"
Gradient stop
<stop stop-color="#15741f"/>
CSS variable + fill
:root { --c: #15741f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #15741f; background-color: #15741f; bg-[#15741f]