#AFAF28 Color

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

Color preview

#AFAF28

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #AFAF28

.color-afaf28 {
  color: #AFAF28;
  background-color: #AFAF28;
}

Frequently asked questions

What color is #AFAF28?+

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

What is the closest Tailwind color to #AFAF28?+

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