#cecc5b
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 | #cecc5b | |
| RGB | rgb(206 204 91) | |
| HSL | hsl(58.96 53.99% 58.24%) | |
| OKLCH | oklch(0.82 0.14 108.09) | |
| CMYK | cmyk(0% 0.97% 55.83% 19.22%) | |
| Android | #ffcecc5b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.69:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.41: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="#cecc5b"
Gradient stop
<stop stop-color="#cecc5b"/>
CSS variable + fill
:root { --c: #cecc5b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cecc5b; background-color: #cecc5b; bg-[#cecc5b]