Hex Color #5F9B3A - Custom Color
Color Codes
HEX
#5F9B3A
RGB
rgb(95, 155, 58)
HSL
hsl(97, 46%, 42%)
CMYK
cmyk(39%, 0%, 63%, 39%)
HSV
hsv(97, 63%, 61%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.37:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.24: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: #5F9B3A;
color: #5F9B3A;
border-color: #5F9B3A;
}
Tailwind CSS (with arbitrary values)
bg-[#5F9B3A]
text-[#5F9B3A]
border-[#5F9B3A]
// Example usage:
<div className="bg-[#5F9B3A]">