#AFAB31 Color

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

Color preview

#AFAB31

Color formats

HEX
#AFAB31
RGB
rgb(175, 171, 49)
RGBA
rgba(175, 171, 49, 1)
HSL
hsl(58, 56%, 44%)
HSV
hsv(58, 72%, 69%)
CMYK
cmyk(0%, 2%, 72%, 31%)
CSS variable
--color-primary: #AFAB31;
Lowercase HEX
#afab31

Shades

Tints

Tones

Harmony

CSS snippets for #AFAB31

.color-afab31 {
  color: #AFAB31;
  background-color: #AFAB31;
}

Frequently asked questions

What color is #AFAB31?+

#AFAB31 is a HEX color with RGB value rgb(175, 171, 49) and HSL value hsl(58, 56%, 44%). Its closest CSS named color is YellowGreen.

What is the closest Tailwind color to #AFAB31?+

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