#FEF2AA Color

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

Color preview

#FEF2AA

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #FEF2AA

.color-fef2aa {
  color: #FEF2AA;
  background-color: #FEF2AA;
}

Frequently asked questions

What color is #FEF2AA?+

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

What is the closest Tailwind color to #FEF2AA?+

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