#FBBF24 color
The swatch above shows #FBBF24 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#FBBF24 is a medium, vivid orange, closest to the CSS named color gold (#FFD700).
It is also a Tailwind CSS default: amber-400. That means you can write bg-amber-400 or text-amber-400 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #FBBF24 |
| RGB | rgb(251, 191, 36) |
| HSL | hsl(43, 96%, 56%) |
| CMYK | cmyk(0%, 24%, 86%, 2%) |
| Decimal | 16498468 |
| CSS | color: #FBBF24; |
| Android | 0xFFFBBF24 |
| Swift | UIColor(red: 0.984, green: 0.749, blue: 0.141, alpha: 1) |
Accessibility and contrast
| White text on #FBBF24 | 1.67:1 — AA fail · AA large fail · AAA fail |
| Black text on #FBBF24 | 12.58:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #FBBF24
Each swatch keeps the hue and saturation of #FBBF24 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FBBF24
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FBBF24 in code
/* CSS */
.element { color: #FBBF24; background-color: #FBBF24; }
.element { color: rgb(251 191 36); }
.element { color: hsl(43 96% 56%); }
/* Tailwind */
<div class="bg-amber-400 text-black">
/* SCSS variable */
$brand: #FBBF24;
Frequently asked questions
What color is #FBBF24?
#FBBF24 is a medium, vivid orange. Its hue sits at 43° on the color wheel, with 96% saturation and 56% lightness.
What is #FBBF24 in RGB?
#FBBF24 converts to rgb(251, 191, 36) — 251 red, 191 green and 36 blue.
What is #FBBF24 in CMYK?
Approximately cmyk(0%, 24%, 86%, 2%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #FBBF24 be white or black?
Black gives the better contrast ratio (12.58:1 versus 1.67:1).
What is the complementary color of #FBBF24?
#2360FB — the hue directly opposite #FBBF24 on the color wheel.