#FEF2B6 Color

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

Color preview

#FEF2B6

Color formats

HEX
#FEF2B6
RGB
rgb(254, 242, 182)
RGBA
rgba(254, 242, 182, 1)
HSL
hsl(50, 97%, 85%)
HSV
hsv(50, 28%, 100%)
CMYK
cmyk(0%, 5%, 28%, 0%)
CSS variable
--color-primary: #FEF2B6;
Lowercase HEX
#fef2b6

Shades

Tints

Tones

Harmony

CSS snippets for #FEF2B6

.color-fef2b6 {
  color: #FEF2B6;
  background-color: #FEF2B6;
}

Frequently asked questions

What color is #FEF2B6?+

#FEF2B6 is a HEX color with RGB value rgb(254, 242, 182) and HSL value hsl(50, 97%, 85%). Its closest CSS named color is Moccasin.

What is the closest Tailwind color to #FEF2B6?+

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