Hex Color #D5FC51 - Custom Color
Color Codes
HEX
#D5FC51
RGB
rgb(213, 252, 81)
HSL
hsl(74, 97%, 65%)
CMYK
cmyk(15%, 0%, 68%, 1%)
HSV
hsv(74, 68%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.87: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: #D5FC51;
color: #D5FC51;
border-color: #D5FC51;
}
Tailwind CSS (with arbitrary values)
bg-[#D5FC51]
text-[#D5FC51]
border-[#D5FC51]
// Example usage:
<div className="bg-[#D5FC51]">