#cfab3f
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 | #cfab3f | |
| RGB | rgb(207 171 63) | |
| HSL | hsl(45 60% 52.94%) | |
| OKLCH | oklch(0.75 0.13 90.17) | |
| CMYK | cmyk(0% 17.39% 69.57% 18.82%) | |
| Android | #ffcfab3f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.19:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.55: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="#cfab3f"
Gradient stop
<stop stop-color="#cfab3f"/>
CSS variable + fill
:root { --c: #cfab3f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfab3f; background-color: #cfab3f; bg-[#cfab3f]