#AFAA28 Color

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

Color preview

#AFAA28

Color formats

HEX
#AFAA28
RGB
rgb(175, 170, 40)
RGBA
rgba(175, 170, 40, 1)
HSL
hsl(58, 63%, 42%)
HSV
hsv(58, 77%, 69%)
CMYK
cmyk(0%, 3%, 77%, 31%)
CSS variable
--color-primary: #AFAA28;
Lowercase HEX
#afaa28

Shades

Tints

Tones

Harmony

CSS snippets for #AFAA28

.color-afaa28 {
  color: #AFAA28;
  background-color: #AFAA28;
}

Frequently asked questions

What color is #AFAA28?+

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

What is the closest Tailwind color to #AFAA28?+

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