Hex Color #22321F - Custom Color

Color Codes

HEX
#22321F
RGB
rgb(34, 50, 31)
HSL
hsl(111, 23%, 16%)
CMYK
cmyk(32%, 0%, 38%, 80%)
HSV
hsv(111, 38%, 20%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 13.60:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 1.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #22321F;
color: #22321F;
border-color: #22321F;
}

Tailwind CSS (with arbitrary values)

bg-[#22321F]
text-[#22321F]
border-[#22321F]
// Example usage:
<div className="bg-[#22321F]">