#46a41f
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 | #46a41f | |
| RGB | rgb(70 164 31) | |
| HSL | hsl(102.41 68.21% 38.24%) | |
| OKLCH | oklch(0.64 0.19 138.71) | |
| CMYK | cmyk(57.32% 0% 81.1% 35.69%) | |
| Android | #ff46a41f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#46a41f"
Gradient stop
<stop stop-color="#46a41f"/>
CSS variable + fill
:root { --c: #46a41f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #46a41f; background-color: #46a41f; bg-[#46a41f]