#cfa42c
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 | #cfa42c | |
| RGB | rgb(207 164 44) | |
| HSL | hsl(44.17 64.94% 49.22%) | |
| OKLCH | oklch(0.74 0.14 87.59) | |
| CMYK | cmyk(0% 20.77% 78.74% 18.82%) | |
| Android | #ffcfa42c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.99: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="#cfa42c"
Gradient stop
<stop stop-color="#cfa42c"/>
CSS variable + fill
:root { --c: #cfa42c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cfa42c; background-color: #cfa42c; bg-[#cfa42c]