#d7dd2e
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 | #d7dd2e | |
| RGB | rgb(215 221 46) | |
| HSL | hsl(62.06 72.02% 52.35%) | |
| OKLCH | oklch(0.87 0.18 111.7) | |
| CMYK | cmyk(2.71% 0% 79.19% 13.33%) | |
| Android | #ffd7dd2e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.47:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.27: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="#d7dd2e"
Gradient stop
<stop stop-color="#d7dd2e"/>
CSS variable + fill
:root { --c: #d7dd2e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7dd2e; background-color: #d7dd2e; bg-[#d7dd2e]