Hex Color #28D31C - Custom Color
Color Codes
HEX
#28D31C
RGB
rgb(40, 211, 28)
HSL
hsl(116, 77%, 47%)
CMYK
cmyk(81%, 0%, 87%, 17%)
HSV
hsv(116, 87%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.42:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #28D31C;
color: #28D31C;
border-color: #28D31C;
}
Tailwind CSS (with arbitrary values)
bg-[#28D31C]
text-[#28D31C]
border-[#28D31C]
// Example usage:
<div className="bg-[#28D31C]">