#FEF8EC color

#FEF8EC is rgb(254, 248, 236) in RGB and hsl(40, 90%, 96%) in HSL. The closest CSS named color is floralwhite (#fffaf0, ΔE 0.9). Use black text on it (contrast 19.85:1).

#FEF8ECamber
HEX#FEF8EC
RGBrgb(254, 248, 236)
RGB percentrgb(99.6%, 97.3%, 92.5%)
HSLhsl(40, 90%, 96%)
HSV / HSBhsv(40, 7%, 100%)
CMYKcmyk(0%, 2%, 7%, 0%)
CIELAB (D65)lab(97.7 0 6.5)

Edit in the color converter → · Check contrast → · Shades →

About #FEF8EC

#FEF8EC is a very pale, vivid amber with a hue angle of 40°. It belongs to the orange family and reads as a warm color. In the RGB model red is the strongest channel at 254 (100%) and blue the weakest at 236 (93%). Colors like this are typically used for page backgrounds, cards and subtle section fills.

Color conversions

HEX#FEF8EC
RGBrgb(254, 248, 236)
RGB percentrgb(99.6%, 97.3%, 92.5%)
HSLhsl(40, 90%, 96%)
HSV / HSBhsv(40, 7%, 100%)
CMYKcmyk(0%, 2%, 7%, 0%)
CIELAB (D65)lab(97.7 0 6.5)
Decimal16709868
Binary11111110 11111000 11101100

HEX FE F8 EC → 254, 248, 236 (each pair is a base-16 number: F×16 + E = 254)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #FEF8EC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #FEF8ECRatioAA normalAA largeAAA normalAAA large
White text1.06:1FailFailFailFail
Black text19.85:1PassPassPassPass
White text on #FEF8EC
Black text on #FEF8EC
#FEF8EC text on white
#FEF8EC text on black

Relative luminance is 0.9426 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#fbf8eb

Deuteranopia
#fdf9ec

Tritanopia
#fff6f4

Achromatopsia
#f8f8f8

People with red–green color blindness see this color almost unchanged (ΔE 1.2 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
floralwhite#fffaf00.9
oldlace#fdf5e61.4
linen#faf0e62.8
seashell#fff5ee3.6

CSS

.element {
  color: #fef8ec;
  background-color: rgb(254, 248, 236);
  border: 1px solid hsl(40, 90%, 96%);
  box-shadow: 0 2px 8px rgb(254 248 236 / 50%);
}
:root { --brand: #fef8ec; }

Frequently asked questions

What color is #FEF8EC?
A very pale vivid amber in the orange family. Closest CSS name: floralwhite.
What is #FEF8EC in RGB?
rgb(254, 248, 236): red 254, green 248, blue 236.
What is the complementary color of #FEF8EC?
#ECF2FE, found by rotating the hue 180°.