#b4a712
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 | #b4a712 | |
| RGB | rgb(180 167 18) | |
| HSL | hsl(55.19 81.82% 38.82%) | |
| OKLCH | oklch(0.72 0.15 103.75) | |
| CMYK | cmyk(0% 7.22% 90% 29.41%) | |
| Android | #ffb4a712 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.47:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.47: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="#b4a712"
Gradient stop
<stop stop-color="#b4a712"/>
CSS variable + fill
:root { --c: #b4a712; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b4a712; background-color: #b4a712; bg-[#b4a712]