#cdf87a
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 | #cdf87a | |
| RGB | rgb(205 248 122) | |
| HSL | hsl(80.48 90% 72.55%) | |
| OKLCH | oklch(0.92 0.16 125.04) | |
| CMYK | cmyk(17.34% 0% 50.81% 2.75%) | |
| Android | #ffcdf87a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.30: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="#cdf87a"
Gradient stop
<stop stop-color="#cdf87a"/>
CSS variable + fill
:root { --c: #cdf87a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cdf87a; background-color: #cdf87a; bg-[#cdf87a]