#FEF8AB Color

Inspect #FEF8AB across formats, palettes, contrast and closest named color matches.

Color preview

#FEF8AB

Color formats

HEX
#FEF8AB
RGB
rgb(254, 248, 171)
RGBA
rgba(254, 248, 171, 1)
HSL
hsl(56, 98%, 83%)
HSV
hsv(56, 33%, 100%)
CMYK
cmyk(0%, 2%, 33%, 0%)
CSS variable
--color-primary: #FEF8AB;
Lowercase HEX
#fef8ab

Shades

Tints

Tones

Harmony

CSS snippets for #FEF8AB

.color-fef8ab {
  color: #FEF8AB;
  background-color: #FEF8AB;
}

Frequently asked questions

What color is #FEF8AB?+

#FEF8AB is a HEX color with RGB value rgb(254, 248, 171) and HSL value hsl(56, 98%, 83%). Its closest CSS named color is Moccasin.

What is the closest Tailwind color to #FEF8AB?+

The closest Tailwind color is yellow-100, available as the bg-yellow-100 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools