#fbab07
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 | #fbab07 | |
| RGB | rgb(251 171 7) | |
| HSL | hsl(40.33 96.83% 50.59%) | |
| OKLCH | oklch(0.8 0.17 75.03) | |
| CMYK | cmyk(0% 31.87% 97.21% 1.57%) | |
| Android | #fffbab07 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.92:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.93: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="#fbab07"
Gradient stop
<stop stop-color="#fbab07"/>
CSS variable + fill
:root { --c: #fbab07; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fbab07; background-color: #fbab07; bg-[#fbab07]