#cbaf50
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 | #cbaf50 | |
| RGB | rgb(203 175 80) | |
| HSL | hsl(46.34 54.19% 55.49%) | |
| OKLCH | oklch(0.76 0.12 92.95) | |
| CMYK | cmyk(0% 13.79% 60.59% 20.39%) | |
| Android | #ffcbaf50 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.14:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.78: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="#cbaf50"
Gradient stop
<stop stop-color="#cbaf50"/>
CSS variable + fill
:root { --c: #cbaf50; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbaf50; background-color: #cbaf50; bg-[#cbaf50]