Hex Color #767421 - Custom Color
Color Codes
HEX
#767421
RGB
rgb(118, 116, 33)
HSL
hsl(59, 56%, 30%)
CMYK
cmyk(0%, 2%, 72%, 54%)
HSV
hsv(59, 72%, 46%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.89:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.29: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: #767421;
color: #767421;
border-color: #767421;
}
Tailwind CSS (with arbitrary values)
bg-[#767421]
text-[#767421]
border-[#767421]
// Example usage:
<div className="bg-[#767421]">