Hex Color #B4D2A2 - Custom Color

Color Codes

HEX
#B4D2A2
RGB
rgb(180, 210, 162)
HSL
hsl(97, 35%, 73%)
CMYK
cmyk(14%, 0%, 23%, 18%)
HSV
hsv(97, 23%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Recommended Text Color

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

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #B4D2A2;
color: #B4D2A2;
border-color: #B4D2A2;
}

Tailwind CSS (with arbitrary values)

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