#d9b22f
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 | #d9b22f | |
| RGB | rgb(217 178 47) | |
| HSL | hsl(46.24 69.11% 51.76%) | |
| OKLCH | oklch(0.78 0.15 91.14) | |
| CMYK | cmyk(0% 17.97% 78.34% 14.9%) | |
| Android | #ffd9b22f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.02:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.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="#d9b22f"
Gradient stop
<stop stop-color="#d9b22f"/>
CSS variable + fill
:root { --c: #d9b22f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d9b22f; background-color: #d9b22f; bg-[#d9b22f]