#c4b248
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 | #c4b248 | |
| RGB | rgb(196 178 72) | |
| HSL | hsl(51.29 51.24% 52.55%) | |
| OKLCH | oklch(0.76 0.13 99.66) | |
| CMYK | cmyk(0% 9.18% 63.27% 23.14%) | |
| Android | #ffc4b248 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.14:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.80: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="#c4b248"
Gradient stop
<stop stop-color="#c4b248"/>
CSS variable + fill
:root { --c: #c4b248; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c4b248; background-color: #c4b248; bg-[#c4b248]