Hex Color #B5D504 - Custom Color
Color Codes
HEX
#B5D504
RGB
rgb(181, 213, 4)
HSL
hsl(69, 96%, 43%)
CMYK
cmyk(15%, 0%, 98%, 16%)
HSV
hsv(69, 98%, 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.48: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: #B5D504;
color: #B5D504;
border-color: #B5D504;
}
Tailwind CSS (with arbitrary values)
bg-[#B5D504]
text-[#B5D504]
border-[#B5D504]
// Example usage:
<div className="bg-[#B5D504]">