#a2db52
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 | #a2db52 | |
| RGB | rgb(162 219 82) | |
| HSL | hsl(84.96 65.55% 59.02%) | |
| OKLCH | oklch(0.83 0.18 128.89) | |
| CMYK | cmyk(26.03% 0% 62.56% 14.12%) | |
| Android | #ffa2db52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.79: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="#a2db52"
Gradient stop
<stop stop-color="#a2db52"/>
CSS variable + fill
:root { --c: #a2db52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2db52; background-color: #a2db52; bg-[#a2db52]