#db9a02
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 | #db9a02 | |
| RGB | rgb(219 154 2) | |
| HSL | hsl(42.03 98.19% 43.33%) | |
| OKLCH | oklch(0.73 0.15 78.37) | |
| CMYK | cmyk(0% 29.68% 99.09% 14.12%) | |
| Android | #ffdb9a02 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.43:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.63: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="#db9a02"
Gradient stop
<stop stop-color="#db9a02"/>
CSS variable + fill
:root { --c: #db9a02; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db9a02; background-color: #db9a02; bg-[#db9a02]