#bba802
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 | #bba802 | |
| RGB | rgb(187 168 2) | |
| HSL | hsl(53.84 97.88% 37.06%) | |
| OKLCH | oklch(0.73 0.15 101.22) | |
| CMYK | cmyk(0% 10.16% 98.93% 26.67%) | |
| Android | #ffbba802 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.40:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.71: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="#bba802"
Gradient stop
<stop stop-color="#bba802"/>
CSS variable + fill
:root { --c: #bba802; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bba802; background-color: #bba802; bg-[#bba802]