#cbc970
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 | #cbc970 | |
| RGB | rgb(203 201 112) | |
| HSL | hsl(58.68 46.67% 61.76%) | |
| OKLCH | oklch(0.82 0.11 107.5) | |
| CMYK | cmyk(0% 0.99% 44.83% 20.39%) | |
| Android | #ffcbc970 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.12: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="#cbc970"
Gradient stop
<stop stop-color="#cbc970"/>
CSS variable + fill
:root { --c: #cbc970; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cbc970; background-color: #cbc970; bg-[#cbc970]