#cbab17
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 | #cbab17 | |
| RGB | rgb(203 171 23) | |
| HSL | hsl(49.33 79.65% 44.31%) | |
| OKLCH | oklch(0.75 0.15 94.96) | |
| CMYK | cmyk(0% 15.76% 88.67% 20.39%) | |
| Android | #ffcbab17 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.37: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="#cbab17"
Gradient stop
<stop stop-color="#cbab17"/>
CSS variable + fill
:root { --c: #cbab17; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbab17; background-color: #cbab17; bg-[#cbab17]