Toolman

#FACC15 color

#FACC15#FACC15

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
RGBrgb(250, 204, 21)
HSLhsl(48, 96%, 53%)
CMYKcmyk(0%, 18%, 92%, 2%)
Decimal16436245
CSScolor: #FACC15;
Android0xFFFACC15
SwiftUIColor(red: 0.980, green: 0.800, blue: 0.082, alpha: 1)

Accessibility and contrast

White text on #FACC151.53:1 — AA fail · AA large fail · AAA fail
Black text on #FACC1513.71:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

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.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #FACC15

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

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.

Convert any color → · Browse all colors