#047229
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 | #047229 | |
| RGB | rgb(4 114 41) | |
| HSL | hsl(140.18 93.22% 23.14%) | |
| OKLCH | oklch(0.48 0.14 147.37) | |
| CMYK | cmyk(96.49% 0% 64.04% 55.29%) | |
| Android | #ff047229 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.44: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="#047229"
Gradient stop
<stop stop-color="#047229"/>
CSS variable + fill
:root { --c: #047229; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #047229; background-color: #047229; bg-[#047229]