Hex Color #28E702 - Custom Color
Color Codes
HEX
#28E702
RGB
rgb(40, 231, 2)
HSL
hsl(110, 98%, 46%)
CMYK
cmyk(83%, 0%, 99%, 9%)
HSV
hsv(110, 99%, 91%)
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.52: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: #28E702;
color: #28E702;
border-color: #28E702;
}
Tailwind CSS (with arbitrary values)
bg-[#28E702]
text-[#28E702]
border-[#28E702]
// Example usage:
<div className="bg-[#28E702]">