#fbf557
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 | #fbf557 | |
| RGB | rgb(251 245 87) | |
| HSL | hsl(57.8 95.35% 66.27%) | |
| OKLCH | oklch(0.95 0.17 107.16) | |
| CMYK | cmyk(0% 2.39% 65.34% 1.57%) | |
| Android | #fffbf557 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.14:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.30: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="#fbf557"
Gradient stop
<stop stop-color="#fbf557"/>
CSS variable + fill
:root { --c: #fbf557; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fbf557; background-color: #fbf557; bg-[#fbf557]