#bfb22a
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 | #bfb22a | |
| RGB | rgb(191 178 42) | |
| HSL | hsl(54.77 63.95% 45.69%) | |
| OKLCH | oklch(0.75 0.15 103.63) | |
| CMYK | cmyk(0% 6.81% 78.01% 25.1%) | |
| Android | #ffbfb22a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.61: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="#bfb22a"
Gradient stop
<stop stop-color="#bfb22a"/>
CSS variable + fill
:root { --c: #bfb22a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bfb22a; background-color: #bfb22a; bg-[#bfb22a]