Hex Color #D2FB2A - Custom Color
Color Codes
HEX
#D2FB2A
RGB
rgb(210, 251, 42)
HSL
hsl(72, 96%, 57%)
CMYK
cmyk(16%, 0%, 83%, 2%)
HSV
hsv(72, 83%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.20:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.57: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: #D2FB2A;
color: #D2FB2A;
border-color: #D2FB2A;
}
Tailwind CSS (with arbitrary values)
bg-[#D2FB2A]
text-[#D2FB2A]
border-[#D2FB2A]
// Example usage:
<div className="bg-[#D2FB2A]">