#1B502B Color

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

Color preview

#1B502B

Color formats

HEX
#1B502B
RGB
rgb(27, 80, 43)
RGBA
rgba(27, 80, 43, 1)
HSL
hsl(138, 50%, 21%)
HSV
hsv(138, 66%, 31%)
CMYK
cmyk(66%, 0%, 46%, 69%)
CSS variable
--color-primary: #1B502B;
Lowercase HEX
#1b502b

Shades

Tints

Tones

Harmony

CSS snippets for #1B502B

.color-1b502b {
  color: #1B502B;
  background-color: #1B502B;
}

Frequently asked questions

What color is #1B502B?+

#1B502B is a HEX color with RGB value rgb(27, 80, 43) and HSL value hsl(138, 50%, 21%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #1B502B?+

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