#dfd057
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 | #dfd057 | |
| RGB | rgb(223 208 87) | |
| HSL | hsl(53.38 68% 60.78%) | |
| OKLCH | oklch(0.85 0.14 102.27) | |
| CMYK | cmyk(0% 6.73% 60.99% 12.55%) | |
| Android | #ffdfd057 |
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.29: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="#dfd057"
Gradient stop
<stop stop-color="#dfd057"/>
CSS variable + fill
:root { --c: #dfd057; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfd057; background-color: #dfd057; bg-[#dfd057]