#FDE047 color
The swatch above shows #FDE047 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.
#FDE047 is a light, vivid yellow, closest to the CSS named color khaki (#F0E68C).
It is also a Tailwind CSS default: yellow-300. That means you can write bg-yellow-300 or text-yellow-300 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #FDE047 |
| RGB | rgb(253, 224, 71) |
| HSL | hsl(50, 98%, 64%) |
| CMYK | cmyk(0%, 11%, 72%, 1%) |
| Decimal | 16638023 |
| CSS | color: #FDE047; |
| Android | 0xFFFDE047 |
| Swift | UIColor(red: 0.992, green: 0.878, blue: 0.278, alpha: 1) |
Accessibility and contrast
| White text on #FDE047 | 1.32:1 — AA fail · AA large fail · AAA fail |
| Black text on #FDE047 | 15.93: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 #FDE047
Each swatch keeps the hue and saturation of #FDE047 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FDE047
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FDE047 in code
/* CSS */
.element { color: #FDE047; background-color: #FDE047; }
.element { color: rgb(253 224 71); }
.element { color: hsl(50 98% 64%); }
/* Tailwind */
<div class="bg-yellow-300 text-black">
/* SCSS variable */
$brand: #FDE047;
Frequently asked questions
What color is #FDE047?
#FDE047 is a light, vivid yellow. Its hue sits at 50° on the color wheel, with 98% saturation and 64% lightness.
What is #FDE047 in RGB?
#FDE047 converts to rgb(253, 224, 71) — 253 red, 224 green and 71 blue.
What is #FDE047 in CMYK?
Approximately cmyk(0%, 11%, 72%, 1%). 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 #FDE047 be white or black?
Black gives the better contrast ratio (15.93:1 versus 1.32:1).
What is the complementary color of #FDE047?
#4967FD — the hue directly opposite #FDE047 on the color wheel.