#F2F840 Color

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

Color preview

#F2F840

Color formats

HEX
#F2F840
RGB
rgb(242, 248, 64)
RGBA
rgba(242, 248, 64, 1)
HSL
hsl(62, 93%, 61%)
HSV
hsv(62, 74%, 97%)
CMYK
cmyk(2%, 0%, 74%, 3%)
CSS variable
--color-primary: #F2F840;
Lowercase HEX
#f2f840

Shades

Tints

Tones

Harmony

CSS snippets for #F2F840

.color-f2f840 {
  color: #F2F840;
  background-color: #F2F840;
}

Frequently asked questions

What color is #F2F840?+

#F2F840 is a HEX color with RGB value rgb(242, 248, 64) and HSL value hsl(62, 93%, 61%). Its closest CSS named color is Yellow.

What is the closest Tailwind color to #F2F840?+

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