#FEF9C3 color
The swatch above shows #FEF9C3 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.
#FEF9C3 is a very light, vivid yellow, closest to the CSS named color lemonchiffon (#FFFACD).
It is also a Tailwind CSS default: yellow-100. That means you can write bg-yellow-100 or text-yellow-100 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #FEF9C3 |
| RGB | rgb(254, 249, 195) |
| HSL | hsl(55, 97%, 88%) |
| CMYK | cmyk(0%, 2%, 23%, 0%) |
| Decimal | 16710083 |
| CSS | color: #FEF9C3; |
| Android | 0xFFFEF9C3 |
| Swift | UIColor(red: 0.996, green: 0.976, blue: 0.765, alpha: 1) |
Accessibility and contrast
| White text on #FEF9C3 | 1.07:1 — AA fail · AA large fail · AAA fail |
| Black text on #FEF9C3 | 19.55: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 #FEF9C3
Each swatch keeps the hue and saturation of #FEF9C3 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FEF9C3
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FEF9C3 in code
/* CSS */
.element { color: #FEF9C3; background-color: #FEF9C3; }
.element { color: rgb(254 249 195); }
.element { color: hsl(55 97% 88%); }
/* Tailwind */
<div class="bg-yellow-100 text-black">
/* SCSS variable */
$brand: #FEF9C3;
Frequently asked questions
What color is #FEF9C3?
#FEF9C3 is a very light, vivid yellow. Its hue sits at 55° on the color wheel, with 97% saturation and 88% lightness.
What is #FEF9C3 in RGB?
#FEF9C3 converts to rgb(254, 249, 195) — 254 red, 249 green and 195 blue.
What is #FEF9C3 in CMYK?
Approximately cmyk(0%, 2%, 23%, 0%). 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 #FEF9C3 be white or black?
Black gives the better contrast ratio (19.55:1 versus 1.07:1).
What is the complementary color of #FEF9C3?
#C3C8FE — the hue directly opposite #FEF9C3 on the color wheel.