#FFF2AB Color

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

Color preview

#FFF2AB

Color formats

HEX
#FFF2AB
RGB
rgb(255, 242, 171)
RGBA
rgba(255, 242, 171, 1)
HSL
hsl(51, 100%, 84%)
HSV
hsv(51, 33%, 100%)
CMYK
cmyk(0%, 5%, 33%, 0%)
CSS variable
--color-primary: #FFF2AB;
Lowercase HEX
#fff2ab

Shades

Tints

Tones

Harmony

CSS snippets for #FFF2AB

.color-fff2ab {
  color: #FFF2AB;
  background-color: #FFF2AB;
}

Frequently asked questions

What color is #FFF2AB?+

#FFF2AB is a HEX color with RGB value rgb(255, 242, 171) and HSL value hsl(51, 100%, 84%). Its closest CSS named color is Moccasin.

What is the closest Tailwind color to #FFF2AB?+

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