#c8b016
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 | #c8b016 | |
| RGB | rgb(200 176 22) | |
| HSL | hsl(51.91 80.18% 43.53%) | |
| OKLCH | oklch(0.76 0.15 99.04) | |
| CMYK | cmyk(0% 12% 89% 21.57%) | |
| Android | #ffc8b016 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.16:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.67: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="#c8b016"
Gradient stop
<stop stop-color="#c8b016"/>
CSS variable + fill
:root { --c: #c8b016; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8b016; background-color: #c8b016; bg-[#c8b016]