#F0F042 Color

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

Color preview

#F0F042

Color formats

HEX
#F0F042
RGB
rgb(240, 240, 66)
RGBA
rgba(240, 240, 66, 1)
HSL
hsl(60, 85%, 60%)
HSV
hsv(60, 73%, 94%)
CMYK
cmyk(0%, 0%, 73%, 6%)
CSS variable
--color-primary: #F0F042;
Lowercase HEX
#f0f042

Shades

Tints

Tones

Harmony

CSS snippets for #F0F042

.color-f0f042 {
  color: #F0F042;
  background-color: #F0F042;
}

Frequently asked questions

What color is #F0F042?+

#F0F042 is a HEX color with RGB value rgb(240, 240, 66) and HSL value hsl(60, 85%, 60%). Its closest CSS named color is Yellow.

What is the closest Tailwind color to #F0F042?+

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