#AFB252 Color

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

Color preview

#AFB252

Color formats

HEX
#AFB252
RGB
rgb(175, 178, 82)
RGBA
rgba(175, 178, 82, 1)
HSL
hsl(62, 38%, 51%)
HSV
hsv(62, 54%, 70%)
CMYK
cmyk(2%, 0%, 54%, 30%)
CSS variable
--color-primary: #AFB252;
Lowercase HEX
#afb252

Shades

Tints

Tones

Harmony

CSS snippets for #AFB252

.color-afb252 {
  color: #AFB252;
  background-color: #AFB252;
}

Frequently asked questions

What color is #AFB252?+

#AFB252 is a HEX color with RGB value rgb(175, 178, 82) and HSL value hsl(62, 38%, 51%). Its closest CSS named color is DarkKhaki.

What is the closest Tailwind color to #AFB252?+

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