#cbab3f
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 | #cbab3f | |
| RGB | rgb(203 171 63) | |
| HSL | hsl(46.29 57.38% 52.16%) | |
| OKLCH | oklch(0.75 0.13 92.27) | |
| CMYK | cmyk(0% 15.76% 68.97% 20.39%) | |
| Android | #ffcbab3f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.22:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.43: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="#cbab3f"
Gradient stop
<stop stop-color="#cbab3f"/>
CSS variable + fill
:root { --c: #cbab3f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbab3f; background-color: #cbab3f; bg-[#cbab3f]