Hex Color #D2F72B - Custom Color
Color Codes
HEX
#D2F72B
RGB
rgb(210, 247, 43)
HSL
hsl(71, 93%, 57%)
CMYK
cmyk(15%, 0%, 83%, 3%)
HSV
hsv(71, 83%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.23:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.08: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: #D2F72B;
color: #D2F72B;
border-color: #D2F72B;
}
Tailwind CSS (with arbitrary values)
bg-[#D2F72B]
text-[#D2F72B]
border-[#D2F72B]
// Example usage:
<div className="bg-[#D2F72B]">