Hex Color #788838 - Custom Color
Color Codes
HEX
#788838
RGB
rgb(120, 136, 56)
HSL
hsl(72, 42%, 38%)
CMYK
cmyk(12%, 0%, 59%, 47%)
HSV
hsv(72, 59%, 53%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.38: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: #788838;
color: #788838;
border-color: #788838;
}
Tailwind CSS (with arbitrary values)
bg-[#788838]
text-[#788838]
border-[#788838]
// Example usage:
<div className="bg-[#788838]">