#c8a73f
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 | #c8a73f | |
| RGB | rgb(200 167 63) | |
| HSL | hsl(45.55 55.47% 51.57%) | |
| OKLCH | oklch(0.74 0.13 91.16) | |
| CMYK | cmyk(0% 16.5% 68.5% 21.57%) | |
| Android | #ffc8a73f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.31:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.05: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="#c8a73f"
Gradient stop
<stop stop-color="#c8a73f"/>
CSS variable + fill
:root { --c: #c8a73f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c8a73f; background-color: #c8a73f; bg-[#c8a73f]