Hex Color #BAF261 - Custom Color

Color Codes

HEX
#BAF261
RGB
rgb(186, 242, 97)
HSL
hsl(83, 85%, 66%)
CMYK
cmyk(23%, 0%, 60%, 5%)
HSV
hsv(83, 60%, 95%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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