#F2F271 Color

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

Color preview

#F2F271

Color formats

HEX
#F2F271
RGB
rgb(242, 242, 113)
RGBA
rgba(242, 242, 113, 1)
HSL
hsl(60, 83%, 70%)
HSV
hsv(60, 53%, 95%)
CMYK
cmyk(0%, 0%, 53%, 5%)
CSS variable
--color-primary: #F2F271;
Lowercase HEX
#f2f271

Shades

Tints

Tones

Harmony

CSS snippets for #F2F271

.color-f2f271 {
  color: #F2F271;
  background-color: #F2F271;
}

Frequently asked questions

What color is #F2F271?+

#F2F271 is a HEX color with RGB value rgb(242, 242, 113) and HSL value hsl(60, 83%, 70%). Its closest CSS named color is Khaki.

What is the closest Tailwind color to #F2F271?+

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