#ddc828
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 | #ddc828 | |
| RGB | rgb(221 200 40) | |
| HSL | hsl(53.04 72.69% 51.18%) | |
| OKLCH | oklch(0.83 0.16 101.17) | |
| CMYK | cmyk(0% 9.5% 81.9% 13.33%) | |
| Android | #ffddc828 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.69:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.36: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="#ddc828"
Gradient stop
<stop stop-color="#ddc828"/>
CSS variable + fill
:root { --c: #ddc828; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddc828; background-color: #ddc828; bg-[#ddc828]