#a2f178
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 | #a2f178 | |
| RGB | rgb(162 241 120) | |
| HSL | hsl(99.17 81.21% 70.78%) | |
| OKLCH | oklch(0.88 0.17 135.79) | |
| CMYK | cmyk(32.78% 0% 50.21% 5.49%) | |
| Android | #ffa2f178 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
15.38: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="#a2f178"
Gradient stop
<stop stop-color="#a2f178"/>
CSS variable + fill
:root { --c: #a2f178; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2f178; background-color: #a2f178; bg-[#a2f178]