#45cb22
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 | #45cb22 | |
| RGB | rgb(69 203 34) | |
| HSL | hsl(107.57 71.31% 46.47%) | |
| OKLCH | oklch(0.74 0.23 140.43) | |
| CMYK | cmyk(66.01% 0% 83.25% 20.39%) | |
| Android | #ff45cb22 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.81: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="#45cb22"
Gradient stop
<stop stop-color="#45cb22"/>
CSS variable + fill
:root { --c: #45cb22; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #45cb22; background-color: #45cb22; bg-[#45cb22]