#d9cd28
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 | #d9cd28 | |
| RGB | rgb(217 205 40) | |
| HSL | hsl(55.93 69.96% 50.39%) | |
| OKLCH | oklch(0.83 0.17 104.97) | |
| CMYK | cmyk(0% 5.53% 81.57% 14.9%) | |
| Android | #ffd9cd28 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.71: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="#d9cd28"
Gradient stop
<stop stop-color="#d9cd28"/>
CSS variable + fill
:root { --c: #d9cd28; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d9cd28; background-color: #d9cd28; bg-[#d9cd28]