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