#ccdf8a
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 | #ccdf8a | |
| RGB | rgb(204 223 138) | |
| HSL | hsl(73.41 57.05% 70.78%) | |
| OKLCH | oklch(0.87 0.11 119.04) | |
| CMYK | cmyk(8.52% 0% 38.12% 12.55%) | |
| Android | #ffccdf8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.44:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.48: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="#ccdf8a"
Gradient stop
<stop stop-color="#ccdf8a"/>
CSS variable + fill
:root { --c: #ccdf8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccdf8a; background-color: #ccdf8a; bg-[#ccdf8a]