#c2d528
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 | #c2d528 | |
| RGB | rgb(194 213 40) | |
| HSL | hsl(66.59 68.38% 49.61%) | |
| OKLCH | oklch(0.83 0.18 116.25) | |
| CMYK | cmyk(8.92% 0% 81.22% 16.47%) | |
| Android | #ffc2d528 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.63:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.84: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="#c2d528"
Gradient stop
<stop stop-color="#c2d528"/>
CSS variable + fill
:root { --c: #c2d528; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c2d528; background-color: #c2d528; bg-[#c2d528]