#dcd078
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 | #dcd078 | |
| RGB | rgb(220 208 120) | |
| HSL | hsl(52.8 58.82% 66.67%) | |
| OKLCH | oklch(0.85 0.11 101.58) | |
| CMYK | cmyk(0% 5.45% 45.45% 13.73%) | |
| Android | #ffdcd078 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.33: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="#dcd078"
Gradient stop
<stop stop-color="#dcd078"/>
CSS variable + fill
:root { --c: #dcd078; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dcd078; background-color: #dcd078; bg-[#dcd078]