#daa71b
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 | #daa71b | |
| RGB | rgb(218 167 27) | |
| HSL | hsl(43.98 77.96% 48.04%) | |
| OKLCH | oklch(0.76 0.15 85.52) | |
| CMYK | cmyk(0% 23.39% 87.61% 14.51%) | |
| Android | #ffdaa71b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.52: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="#daa71b"
Gradient stop
<stop stop-color="#daa71b"/>
CSS variable + fill
:root { --c: #daa71b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #daa71b; background-color: #daa71b; bg-[#daa71b]