#45ab2b
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 | #45ab2b | |
| RGB | rgb(69 171 43) | |
| HSL | hsl(107.81 59.81% 41.96%) | |
| OKLCH | oklch(0.66 0.19 140.1) | |
| CMYK | cmyk(59.65% 0% 74.85% 32.94%) | |
| Android | #ff45ab2b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.95:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.11: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="#45ab2b"
Gradient stop
<stop stop-color="#45ab2b"/>
CSS variable + fill
:root { --c: #45ab2b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #45ab2b; background-color: #45ab2b; bg-[#45ab2b]