#dac74a
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 | #dac74a | |
| RGB | rgb(218 199 74) | |
| HSL | hsl(52.08 66.06% 57.25%) | |
| OKLCH | oklch(0.82 0.14 100.59) | |
| CMYK | cmyk(0% 8.72% 66.06% 14.51%) | |
| Android | #ffdac74a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.24: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="#dac74a"
Gradient stop
<stop stop-color="#dac74a"/>
CSS variable + fill
:root { --c: #dac74a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dac74a; background-color: #dac74a; bg-[#dac74a]