#b8a407
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 | #b8a407 | |
| RGB | rgb(184 164 7) | |
| HSL | hsl(53.22 92.67% 37.45%) | |
| OKLCH | oklch(0.71 0.15 100.48) | |
| CMYK | cmyk(0% 10.87% 96.2% 27.84%) | |
| Android | #ffb8a407 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.51:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.35: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="#b8a407"
Gradient stop
<stop stop-color="#b8a407"/>
CSS variable + fill
:root { --c: #b8a407; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b8a407; background-color: #b8a407; bg-[#b8a407]