#F8F271 Color

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

Color preview

#F8F271

Color formats

HEX
#F8F271
RGB
rgb(248, 242, 113)
RGBA
rgba(248, 242, 113, 1)
HSL
hsl(57, 91%, 71%)
HSV
hsv(57, 54%, 97%)
CMYK
cmyk(0%, 2%, 54%, 3%)
CSS variable
--color-primary: #F8F271;
Lowercase HEX
#f8f271

Shades

Tints

Tones

Harmony

CSS snippets for #F8F271

.color-f8f271 {
  color: #F8F271;
  background-color: #F8F271;
}

Frequently asked questions

What color is #F8F271?+

#F8F271 is a HEX color with RGB value rgb(248, 242, 113) and HSL value hsl(57, 91%, 71%). Its closest CSS named color is Khaki.

What is the closest Tailwind color to #F8F271?+

The closest Tailwind color is yellow-200, available as the bg-yellow-200 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