#FEF8B2 Color

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

Color preview

#FEF8B2

Color formats

HEX
#FEF8B2
RGB
rgb(254, 248, 178)
RGBA
rgba(254, 248, 178, 1)
HSL
hsl(55, 97%, 85%)
HSV
hsv(55, 30%, 100%)
CMYK
cmyk(0%, 2%, 30%, 0%)
CSS variable
--color-primary: #FEF8B2;
Lowercase HEX
#fef8b2

Shades

Tints

Tones

Harmony

CSS snippets for #FEF8B2

.color-fef8b2 {
  color: #FEF8B2;
  background-color: #FEF8B2;
}

Frequently asked questions

What color is #FEF8B2?+

#FEF8B2 is a HEX color with RGB value rgb(254, 248, 178) and HSL value hsl(55, 97%, 85%). Its closest CSS named color is Moccasin.

What is the closest Tailwind color to #FEF8B2?+

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