#f9bc40
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 | #f9bc40 | |
| RGB | rgb(249 188 64) | |
| HSL | hsl(40.22 93.91% 61.37%) | |
| OKLCH | oklch(0.83 0.15 81.1) | |
| CMYK | cmyk(0% 24.5% 74.3% 2.35%) | |
| Android | #fff9bc40 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.70:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.29: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="#f9bc40"
Gradient stop
<stop stop-color="#f9bc40"/>
CSS variable + fill
:root { --c: #f9bc40; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f9bc40; background-color: #f9bc40; bg-[#f9bc40]