#ccc96e
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 | #ccc96e | |
| RGB | rgb(204 201 110) | |
| HSL | hsl(58.09 47.96% 61.57%) | |
| OKLCH | oklch(0.82 0.11 106.99) | |
| CMYK | cmyk(0% 1.47% 46.08% 20%) | |
| Android | #ffccc96e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.14: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="#ccc96e"
Gradient stop
<stop stop-color="#ccc96e"/>
CSS variable + fill
:root { --c: #ccc96e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ccc96e; background-color: #ccc96e; bg-[#ccc96e]