#d4b052
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 | #d4b052 | |
| RGB | rgb(212 176 82) | |
| HSL | hsl(43.38 60.19% 57.65%) | |
| OKLCH | oklch(0.77 0.12 88.33) | |
| CMYK | cmyk(0% 16.98% 61.32% 16.86%) | |
| Android | #ffd4b052 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.07:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.13: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="#d4b052"
Gradient stop
<stop stop-color="#d4b052"/>
CSS variable + fill
:root { --c: #d4b052; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d4b052; background-color: #d4b052; bg-[#d4b052]