Hex Color #B9E7A5 - Custom Color

Color Codes

HEX
#B9E7A5
RGB
rgb(185, 231, 165)
HSL
hsl(102, 58%, 78%)
CMYK
cmyk(20%, 0%, 29%, 9%)
HSV
hsv(102, 29%, 91%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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