Hex Color #D1E4BA - Custom Color

Color Codes

HEX
#D1E4BA
RGB
rgb(209, 228, 186)
HSL
hsl(87, 44%, 81%)
CMYK
cmyk(8%, 0%, 18%, 11%)
HSV
hsv(87, 18%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 15.52: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: #D1E4BA;
color: #D1E4BA;
border-color: #D1E4BA;
}

Tailwind CSS (with arbitrary values)

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