#bbac18
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 | #bbac18 | |
| RGB | rgb(187 172 24) | |
| HSL | hsl(54.48 77.25% 41.37%) | |
| OKLCH | oklch(0.73 0.15 102.91) | |
| CMYK | cmyk(0% 8.02% 87.17% 26.67%) | |
| Android | #ffbbac18 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.32:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.02: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="#bbac18"
Gradient stop
<stop stop-color="#bbac18"/>
CSS variable + fill
:root { --c: #bbac18; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bbac18; background-color: #bbac18; bg-[#bbac18]