#ded31e
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 | #ded31e | |
| RGB | rgb(222 211 30) | |
| HSL | hsl(56.56 76.19% 49.41%) | |
| OKLCH | oklch(0.85 0.18 105.64) | |
| CMYK | cmyk(0% 4.95% 86.49% 12.94%) | |
| Android | #ffded31e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.56:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.44: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="#ded31e"
Gradient stop
<stop stop-color="#ded31e"/>
CSS variable + fill
:root { --c: #ded31e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ded31e; background-color: #ded31e; bg-[#ded31e]