#bba01a
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 | #bba01a | |
| RGB | rgb(187 160 26) | |
| HSL | hsl(49.94 75.59% 41.76%) | |
| OKLCH | oklch(0.71 0.14 96.3) | |
| CMYK | cmyk(0% 14.44% 86.1% 26.67%) | |
| Android | #ffbba01a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.15: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="#bba01a"
Gradient stop
<stop stop-color="#bba01a"/>
CSS variable + fill
:root { --c: #bba01a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bba01a; background-color: #bba01a; bg-[#bba01a]