#dfa151
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 | #dfa151 | |
| RGB | rgb(223 161 81) | |
| HSL | hsl(33.8 68.93% 59.61%) | |
| OKLCH | oklch(0.75 0.12 71.03) | |
| CMYK | cmyk(0% 27.8% 63.68% 12.55%) | |
| Android | #ffdfa151 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.24:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.35: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="#dfa151"
Gradient stop
<stop stop-color="#dfa151"/>
CSS variable + fill
:root { --c: #dfa151; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfa151; background-color: #dfa151; bg-[#dfa151]