#AFAC28 Color

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

Color preview

#AFAC28

Color formats

HEX
#AFAC28
RGB
rgb(175, 172, 40)
RGBA
rgba(175, 172, 40, 1)
HSL
hsl(59, 63%, 42%)
HSV
hsv(59, 77%, 69%)
CMYK
cmyk(0%, 2%, 77%, 31%)
CSS variable
--color-primary: #AFAC28;
Lowercase HEX
#afac28

Shades

Tints

Tones

Harmony

CSS snippets for #AFAC28

.color-afac28 {
  color: #AFAC28;
  background-color: #AFAC28;
}

Frequently asked questions

What color is #AFAC28?+

#AFAC28 is a HEX color with RGB value rgb(175, 172, 40) and HSL value hsl(59, 63%, 42%). Its closest CSS named color is YellowGreen.

What is the closest Tailwind color to #AFAC28?+

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