#d2d85f
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 | #d2d85f | |
| RGB | rgb(210 216 95) | |
| HSL | hsl(62.98 60.8% 60.98%) | |
| OKLCH | oklch(0.85 0.14 111.7) | |
| CMYK | cmyk(2.78% 0% 56.02% 15.29%) | |
| Android | #ffd2d85f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.72: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="#d2d85f"
Gradient stop
<stop stop-color="#d2d85f"/>
CSS variable + fill
:root { --c: #d2d85f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d2d85f; background-color: #d2d85f; bg-[#d2d85f]