#d2f178
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 | #d2f178 | |
| RGB | rgb(210 241 120) | |
| HSL | hsl(75.37 81.21% 70.78%) | |
| OKLCH | oklch(0.91 0.15 121.36) | |
| CMYK | cmyk(12.86% 0% 50.21% 5.49%) | |
| Android | #ffd2f178 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.26:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.59: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="#d2f178"
Gradient stop
<stop stop-color="#d2f178"/>
CSS variable + fill
:root { --c: #d2f178; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d2f178; background-color: #d2f178; bg-[#d2f178]