#ddb52d
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 | #ddb52d | |
| RGB | rgb(221 181 45) | |
| HSL | hsl(46.36 72.13% 52.16%) | |
| OKLCH | oklch(0.79 0.15 91.17) | |
| CMYK | cmyk(0% 18.1% 79.64% 13.33%) | |
| Android | #ffddb52d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.95:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.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="#ddb52d"
Gradient stop
<stop stop-color="#ddb52d"/>
CSS variable + fill
:root { --c: #ddb52d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddb52d; background-color: #ddb52d; bg-[#ddb52d]