#dfd62f
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 | #dfd62f | |
| RGB | rgb(223 214 47) | |
| HSL | hsl(56.93 73.33% 52.94%) | |
| OKLCH | oklch(0.86 0.17 106.22) | |
| CMYK | cmyk(0% 4.04% 78.92% 12.55%) | |
| Android | #ffdfd62f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.79: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="#dfd62f"
Gradient stop
<stop stop-color="#dfd62f"/>
CSS variable + fill
:root { --c: #dfd62f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfd62f; background-color: #dfd62f; bg-[#dfd62f]