#dfab39
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 | #dfab39 | |
| RGB | rgb(223 171 57) | |
| HSL | hsl(41.2 72.17% 54.9%) | |
| OKLCH | oklch(0.77 0.14 82.96) | |
| CMYK | cmyk(0% 23.32% 74.44% 12.55%) | |
| Android | #ffdfab39 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.09:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.02: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="#dfab39"
Gradient stop
<stop stop-color="#dfab39"/>
CSS variable + fill
:root { --c: #dfab39; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfab39; background-color: #dfab39; bg-[#dfab39]