#c2a462
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 | #c2a462 | |
| RGB | rgb(194 164 98) | |
| HSL | hsl(41.25 44.04% 57.25%) | |
| OKLCH | oklch(0.73 0.09 85.73) | |
| CMYK | cmyk(0% 15.46% 49.48% 23.92%) | |
| Android | #ffc2a462 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.39:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.78: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="#c2a462"
Gradient stop
<stop stop-color="#c2a462"/>
CSS variable + fill
:root { --c: #c2a462; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c2a462; background-color: #c2a462; bg-[#c2a462]