Hex Color #56A314 - Custom Color
Color Codes
HEX
#56A314
RGB
rgb(86, 163, 20)
HSL
hsl(92, 78%, 36%)
CMYK
cmyk(47%, 0%, 88%, 36%)
HSV
hsv(92, 88%, 64%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.64: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: #56A314;
color: #56A314;
border-color: #56A314;
}
Tailwind CSS (with arbitrary values)
bg-[#56A314]
text-[#56A314]
border-[#56A314]
// Example usage:
<div className="bg-[#56A314]">