Hex Color #40CB71 - Custom Color
Color Codes
HEX
#40CB71
RGB
rgb(64, 203, 113)
HSL
hsl(141, 57%, 52%)
CMYK
cmyk(68%, 0%, 44%, 20%)
HSV
hsv(141, 68%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.10:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.00: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: #40CB71;
color: #40CB71;
border-color: #40CB71;
}
Tailwind CSS (with arbitrary values)
bg-[#40CB71]
text-[#40CB71]
border-[#40CB71]
// Example usage:
<div className="bg-[#40CB71]">