#FEF2AB Color

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

Color preview

#FEF2AB

Color formats

HEX
#FEF2AB
RGB
rgb(254, 242, 171)
RGBA
rgba(254, 242, 171, 1)
HSL
hsl(51, 98%, 83%)
HSV
hsv(51, 33%, 100%)
CMYK
cmyk(0%, 5%, 33%, 0%)
CSS variable
--color-primary: #FEF2AB;
Lowercase HEX
#fef2ab

Shades

Tints

Tones

Harmony

CSS snippets for #FEF2AB

.color-fef2ab {
  color: #FEF2AB;
  background-color: #FEF2AB;
}

Frequently asked questions

What color is #FEF2AB?+

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

What is the closest Tailwind color to #FEF2AB?+

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