#AFBA12 Color

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

Color preview

#AFBA12

Color formats

HEX
#AFBA12
RGB
rgb(175, 186, 18)
RGBA
rgba(175, 186, 18, 1)
HSL
hsl(64, 82%, 40%)
HSV
hsv(64, 90%, 73%)
CMYK
cmyk(6%, 0%, 90%, 27%)
CSS variable
--color-primary: #AFBA12;
Lowercase HEX
#afba12

Shades

Tints

Tones

Harmony

CSS snippets for #AFBA12

.color-afba12 {
  color: #AFBA12;
  background-color: #AFBA12;
}

Frequently asked questions

What color is #AFBA12?+

#AFBA12 is a HEX color with RGB value rgb(175, 186, 18) and HSL value hsl(64, 82%, 40%). Its closest CSS named color is YellowGreen.

What is the closest Tailwind color to #AFBA12?+

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