Hex Color #51691A - Custom Color
Color Codes
HEX
#51691A
RGB
rgb(81, 105, 26)
HSL
hsl(78, 60%, 26%)
CMYK
cmyk(23%, 0%, 75%, 59%)
HSV
hsv(78, 75%, 41%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.20:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.39:1
Fail - 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: #51691A;
color: #51691A;
border-color: #51691A;
}
Tailwind CSS (with arbitrary values)
bg-[#51691A]
text-[#51691A]
border-[#51691A]
// Example usage:
<div className="bg-[#51691A]">