#d9a87f
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 | #d9a87f | |
| RGB | rgb(217 168 127) | |
| HSL | hsl(27.33 54.22% 67.45%) | |
| OKLCH | oklch(0.77 0.08 61.13) | |
| CMYK | cmyk(0% 22.58% 41.47% 14.9%) | |
| Android | #ffd9a87f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.85: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="#d9a87f"
Gradient stop
<stop stop-color="#d9a87f"/>
CSS variable + fill
:root { --c: #d9a87f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d9a87f; background-color: #d9a87f; bg-[#d9a87f]