#d8a14f
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 | #d8a14f | |
| RGB | rgb(216 161 79) | |
| HSL | hsl(35.91 63.72% 57.84%) | |
| OKLCH | oklch(0.75 0.12 75.03) | |
| CMYK | cmyk(0% 25.46% 63.43% 15.29%) | |
| Android | #ffd8a14f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.29:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.13: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="#d8a14f"
Gradient stop
<stop stop-color="#d8a14f"/>
CSS variable + fill
:root { --c: #d8a14f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d8a14f; background-color: #d8a14f; bg-[#d8a14f]