#d7d87f
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 | #d7d87f | |
| RGB | rgb(215 216 127) | |
| HSL | hsl(60.67 53.29% 67.25%) | |
| OKLCH | oklch(0.86 0.11 109.09) | |
| CMYK | cmyk(0.46% 0% 41.2% 15.29%) | |
| Android | #ffd7d87f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.49:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.01: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="#d7d87f"
Gradient stop
<stop stop-color="#d7d87f"/>
CSS variable + fill
:root { --c: #d7d87f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7d87f; background-color: #d7d87f; bg-[#d7d87f]