#402312 Color

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

Color preview

#402312

Color formats

HEX
#402312
RGB
rgb(64, 35, 18)
RGBA
rgba(64, 35, 18, 1)
HSL
hsl(22, 56%, 16%)
HSV
hsv(22, 72%, 25%)
CMYK
cmyk(0%, 45%, 72%, 75%)
CSS variable
--color-primary: #402312;
Lowercase HEX
#402312

Shades

Tints

Tones

Harmony

CSS snippets for #402312

.color-402312 {
  color: #402312;
  background-color: #402312;
}

Frequently asked questions

What color is #402312?+

#402312 is a HEX color with RGB value rgb(64, 35, 18) and HSL value hsl(22, 56%, 16%). Its closest CSS named color is Black.

What is the closest Tailwind color to #402312?+

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