#45951f
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 | #45951f | |
| RGB | rgb(69 149 31) | |
| HSL | hsl(100.68 65.56% 35.29%) | |
| OKLCH | oklch(0.6 0.17 137.93) | |
| CMYK | cmyk(53.69% 0% 79.19% 41.57%) | |
| Android | #ff45951f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.57: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="#45951f"
Gradient stop
<stop stop-color="#45951f"/>
CSS variable + fill
:root { --c: #45951f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #45951f; background-color: #45951f; bg-[#45951f]