#dbb402
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 | #dbb402 | |
| RGB | rgb(219 180 2) | |
| HSL | hsl(49.22 98.19% 43.33%) | |
| OKLCH | oklch(0.78 0.16 93.08) | |
| CMYK | cmyk(0% 17.81% 99.09% 14.12%) | |
| Android | #ffdbb402 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.99:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.54: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="#dbb402"
Gradient stop
<stop stop-color="#dbb402"/>
CSS variable + fill
:root { --c: #dbb402; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dbb402; background-color: #dbb402; bg-[#dbb402]