#cdf42a
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 | #cdf42a | |
| RGB | rgb(205 244 42) | |
| HSL | hsl(71.58 90.18% 56.08%) | |
| OKLCH | oklch(0.91 0.21 120.99) | |
| CMYK | cmyk(15.98% 0% 82.79% 4.31%) | |
| Android | #ffcdf42a |
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.56: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="#cdf42a"
Gradient stop
<stop stop-color="#cdf42a"/>
CSS variable + fill
:root { --c: #cdf42a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cdf42a; background-color: #cdf42a; bg-[#cdf42a]