#AFB42D Color

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

Color preview

#AFB42D

Color formats

HEX
#AFB42D
RGB
rgb(175, 180, 45)
RGBA
rgba(175, 180, 45, 1)
HSL
hsl(62, 60%, 44%)
HSV
hsv(62, 75%, 71%)
CMYK
cmyk(3%, 0%, 75%, 29%)
CSS variable
--color-primary: #AFB42D;
Lowercase HEX
#afb42d

Shades

Tints

Tones

Harmony

CSS snippets for #AFB42D

.color-afb42d {
  color: #AFB42D;
  background-color: #AFB42D;
}

Frequently asked questions

What color is #AFB42D?+

#AFB42D is a HEX color with RGB value rgb(175, 180, 45) and HSL value hsl(62, 60%, 44%). Its closest CSS named color is YellowGreen.

What is the closest Tailwind color to #AFB42D?+

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