#04841f
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 | #04841f | |
| RGB | rgb(4 132 31) | |
| HSL | hsl(132.66 94.12% 26.67%) | |
| OKLCH | oklch(0.53 0.17 144.56) | |
| CMYK | cmyk(96.97% 0% 76.52% 48.24%) | |
| Android | #ff04841f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.32: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="#04841f"
Gradient stop
<stop stop-color="#04841f"/>
CSS variable + fill
:root { --c: #04841f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #04841f; background-color: #04841f; bg-[#04841f]