#dfc313
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 | #dfc313 | |
| RGB | rgb(223 195 19) | |
| HSL | hsl(51.76 84.3% 47.45%) | |
| OKLCH | oklch(0.82 0.17 98.52) | |
| CMYK | cmyk(0% 12.56% 91.48% 12.55%) | |
| Android | #ffdfc313 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.75:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.95: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="#dfc313"
Gradient stop
<stop stop-color="#dfc313"/>
CSS variable + fill
:root { --c: #dfc313; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfc313; background-color: #dfc313; bg-[#dfc313]