Hex Color #B2D622 - Custom Color
Color Codes
HEX
#B2D622
RGB
rgb(178, 214, 34)
HSL
hsl(72, 73%, 49%)
CMYK
cmyk(17%, 0%, 84%, 16%)
HSV
hsv(72, 84%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.68:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.53: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: #B2D622;
color: #B2D622;
border-color: #B2D622;
}
Tailwind CSS (with arbitrary values)
bg-[#B2D622]
text-[#B2D622]
border-[#B2D622]
// Example usage:
<div className="bg-[#B2D622]">