#cb8918
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 | #cb8918 | |
| RGB | rgb(203 137 24) | |
| HSL | hsl(37.88 78.85% 44.51%) | |
| OKLCH | oklch(0.68 0.14 73.43) | |
| CMYK | cmyk(0% 32.51% 88.18% 20.39%) | |
| Android | #ffcb8918 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.13: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="#cb8918"
Gradient stop
<stop stop-color="#cb8918"/>
CSS variable + fill
:root { --c: #cb8918; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb8918; background-color: #cb8918; bg-[#cb8918]