#d8cd59
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 | #d8cd59 | |
| RGB | rgb(216 205 89) | |
| HSL | hsl(54.8 61.95% 59.8%) | |
| OKLCH | oklch(0.84 0.14 103.9) | |
| CMYK | cmyk(0% 5.09% 58.8% 15.29%) | |
| Android | #ffd8cd59 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.79: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="#d8cd59"
Gradient stop
<stop stop-color="#d8cd59"/>
CSS variable + fill
:root { --c: #d8cd59; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d8cd59; background-color: #d8cd59; bg-[#d8cd59]