#d2dd97
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 | #d2dd97 | |
| RGB | rgb(210 221 151) | |
| HSL | hsl(69.43 50.72% 72.94%) | |
| OKLCH | oklch(0.87 0.09 115.6) | |
| CMYK | cmyk(4.98% 0% 31.67% 13.33%) | |
| Android | #ffd2dd97 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.44:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.52: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="#d2dd97"
Gradient stop
<stop stop-color="#d2dd97"/>
CSS variable + fill
:root { --c: #d2dd97; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d2dd97; background-color: #d2dd97; bg-[#d2dd97]