#d0cd45
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 | #d0cd45 | |
| RGB | rgb(208 205 69) | |
| HSL | hsl(58.71 59.66% 54.31%) | |
| OKLCH | oklch(0.83 0.15 108.09) | |
| CMYK | cmyk(0% 1.44% 66.83% 18.43%) | |
| Android | #ffd0cd45 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.67:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.50: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="#d0cd45"
Gradient stop
<stop stop-color="#d0cd45"/>
CSS variable + fill
:root { --c: #d0cd45; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d0cd45; background-color: #d0cd45; bg-[#d0cd45]