#46831f
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 | #46831f | |
| RGB | rgb(70 131 31) | |
| HSL | hsl(96.6 61.73% 31.76%) | |
| OKLCH | oklch(0.55 0.15 136.01) | |
| CMYK | cmyk(46.56% 0% 76.34% 48.63%) | |
| Android | #ff46831f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass 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="#46831f"
Gradient stop
<stop stop-color="#46831f"/>
CSS variable + fill
:root { --c: #46831f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #46831f; background-color: #46831f; bg-[#46831f]