#FACC15 color
The swatch above shows #FACC15 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.
#FACC15 is a medium, vivid yellow, closest to the CSS named color gold (#FFD700).
It is also a Tailwind CSS default: yellow-400. That means you can write bg-yellow-400 or text-yellow-400 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #FACC15 |
| RGB | rgb(250, 204, 21) |
| HSL | hsl(48, 96%, 53%) |
| CMYK | cmyk(0%, 18%, 92%, 2%) |
| Decimal | 16436245 |
| CSS | color: #FACC15; |
| Android | 0xFFFACC15 |
| Swift | UIColor(red: 0.980, green: 0.800, blue: 0.082, alpha: 1) |
Accessibility and contrast
| White text on #FACC15 | 1.53:1 — AA fail · AA large fail · AAA fail |
| Black text on #FACC15 | 13.71: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 #FACC15
Each swatch keeps the hue and saturation of #FACC15 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FACC15
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FACC15 in code
/* CSS */
.element { color: #FACC15; background-color: #FACC15; }
.element { color: rgb(250 204 21); }
.element { color: hsl(48 96% 53%); }
/* Tailwind */
<div class="bg-yellow-400 text-black">
/* SCSS variable */
$brand: #FACC15;
Frequently asked questions
What color is #FACC15?
#FACC15 is a medium, vivid yellow. Its hue sits at 48° on the color wheel, with 96% saturation and 53% lightness.
What is #FACC15 in RGB?
#FACC15 converts to rgb(250, 204, 21) — 250 red, 204 green and 21 blue.
What is #FACC15 in CMYK?
Approximately cmyk(0%, 18%, 92%, 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 #FACC15 be white or black?
Black gives the better contrast ratio (13.71:1 versus 1.53:1).
What is the complementary color of #FACC15?
#1442FA — the hue directly opposite #FACC15 on the color wheel.