#a2cb28
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 | #a2cb28 | |
| RGB | rgb(162 203 40) | |
| HSL | hsl(75.09 67.08% 47.65%) | |
| OKLCH | oklch(0.78 0.18 123.61) | |
| CMYK | cmyk(20.2% 0% 80.3% 20.39%) | |
| Android | #ffa2cb28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.89:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.10: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="#a2cb28"
Gradient stop
<stop stop-color="#a2cb28"/>
CSS variable + fill
:root { --c: #a2cb28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2cb28; background-color: #a2cb28; bg-[#a2cb28]