#dfd612
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 | #dfd612 | |
| RGB | rgb(223 214 18) | |
| HSL | hsl(57.37 85.06% 47.25%) | |
| OKLCH | oklch(0.86 0.18 106.53) | |
| CMYK | cmyk(0% 4.04% 91.93% 12.55%) | |
| Android | #ffdfd612 |
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.76: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="#dfd612"
Gradient stop
<stop stop-color="#dfd612"/>
CSS variable + fill
:root { --c: #dfd612; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfd612; background-color: #dfd612; bg-[#dfd612]