Toolman

#FEFCE8 color

#FEFCE8#FEFCE8

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
RGBrgb(254, 252, 232)
HSLhsl(55, 92%, 95%)
CMYKcmyk(0%, 1%, 9%, 0%)
Decimal16710888
CSScolor: #FEFCE8;
Android0xFFFEFCE8
SwiftUIColor(red: 0.996, green: 0.988, blue: 0.910, alpha: 1)

Accessibility and contrast

White text on #FEFCE81.03:1 — AA fail · AA large fail · AAA fail
Black text on #FEFCE820.30: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 #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.

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

Colors that go with #FEFCE8

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 #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.

Convert any color → · Browse all colors