Hex Color #BAF591 - Custom Color
Color Codes
HEX
#BAF591
RGB
rgb(186, 245, 145)
HSL
hsl(95, 83%, 76%)
CMYK
cmyk(24%, 0%, 41%, 4%)
HSV
hsv(95, 41%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.27:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.56: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: #BAF591;
color: #BAF591;
border-color: #BAF591;
}
Tailwind CSS (with arbitrary values)
bg-[#BAF591]
text-[#BAF591]
border-[#BAF591]
// Example usage:
<div className="bg-[#BAF591]">