#c8ab54
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 | #c8ab54 | |
| RGB | rgb(200 171 84) | |
| HSL | hsl(45 51.33% 55.69%) | |
| OKLCH | oklch(0.75 0.11 91.1) | |
| CMYK | cmyk(0% 14.5% 58% 21.57%) | |
| Android | #ffc8ab54 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.40: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="#c8ab54"
Gradient stop
<stop stop-color="#c8ab54"/>
CSS variable + fill
:root { --c: #c8ab54; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8ab54; background-color: #c8ab54; bg-[#c8ab54]