#dfd952
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 | #dfd952 | |
| RGB | rgb(223 217 82) | |
| HSL | hsl(57.45 68.78% 59.8%) | |
| OKLCH | oklch(0.87 0.15 106.76) | |
| CMYK | cmyk(0% 2.69% 63.23% 12.55%) | |
| Android | #ffdfd952 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.18: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="#dfd952"
Gradient stop
<stop stop-color="#dfd952"/>
CSS variable + fill
:root { --c: #dfd952; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfd952; background-color: #dfd952; bg-[#dfd952]