#d8bb2a
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 | #d8bb2a | |
| RGB | rgb(216 187 42) | |
| HSL | hsl(50 69.05% 50.59%) | |
| OKLCH | oklch(0.79 0.15 96.87) | |
| CMYK | cmyk(0% 13.43% 80.56% 15.29%) | |
| Android | #ffd8bb2a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.89:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.06: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="#d8bb2a"
Gradient stop
<stop stop-color="#d8bb2a"/>
CSS variable + fill
:root { --c: #d8bb2a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d8bb2a; background-color: #d8bb2a; bg-[#d8bb2a]