#dbc874
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 | #dbc874 | |
| RGB | rgb(219 200 116) | |
| HSL | hsl(48.93 58.86% 65.69%) | |
| OKLCH | oklch(0.83 0.11 96.94) | |
| CMYK | cmyk(0% 8.68% 47.03% 14.12%) | |
| Android | #ffdbc874 |
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.52: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="#dbc874"
Gradient stop
<stop stop-color="#dbc874"/>
CSS variable + fill
:root { --c: #dbc874; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dbc874; background-color: #dbc874; bg-[#dbc874]