#cdf751
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 | #cdf751 | |
| RGB | rgb(205 247 81) | |
| HSL | hsl(75.18 91.21% 64.31%) | |
| OKLCH | oklch(0.92 0.19 122.56) | |
| CMYK | cmyk(17% 0% 67.21% 3.14%) | |
| Android | #ffcdf751 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
17.01: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="#cdf751"
Gradient stop
<stop stop-color="#cdf751"/>
CSS variable + fill
:root { --c: #cdf751; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cdf751; background-color: #cdf751; bg-[#cdf751]