#d8be40
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 | #d8be40 | |
| RGB | rgb(216 190 64) | |
| HSL | hsl(49.74 66.09% 54.9%) | |
| OKLCH | oklch(0.8 0.14 97.26) | |
| CMYK | cmyk(0% 12.04% 70.37% 15.29%) | |
| Android | #ffd8be40 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.84:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.35: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="#d8be40"
Gradient stop
<stop stop-color="#d8be40"/>
CSS variable + fill
:root { --c: #d8be40; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d8be40; background-color: #d8be40; bg-[#d8be40]