#ccd478
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 | #ccd478 | |
| RGB | rgb(204 212 120) | |
| HSL | hsl(65.22 51.69% 65.1%) | |
| OKLCH | oklch(0.84 0.12 112.95) | |
| CMYK | cmyk(3.77% 0% 43.4% 16.86%) | |
| Android | #ffccd478 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.58:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.25: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="#ccd478"
Gradient stop
<stop stop-color="#ccd478"/>
CSS variable + fill
:root { --c: #ccd478; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccd478; background-color: #ccd478; bg-[#ccd478]