Hex Color #5BA24A - Custom Color
Color Codes
HEX
#5BA24A
RGB
rgb(91, 162, 74)
HSL
hsl(108, 37%, 46%)
CMYK
cmyk(44%, 0%, 54%, 36%)
HSV
hsv(108, 54%, 64%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.13:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.71:1
Pass - WCAG AA (Normal Text)
Fail - 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: #5BA24A;
color: #5BA24A;
border-color: #5BA24A;
}
Tailwind CSS (with arbitrary values)
bg-[#5BA24A]
text-[#5BA24A]
border-[#5BA24A]
// Example usage:
<div className="bg-[#5BA24A]">