Hex Color #46721A - Custom Color
Color Codes
HEX
#46721A
RGB
rgb(70, 114, 26)
HSL
hsl(90, 63%, 27%)
CMYK
cmyk(39%, 0%, 77%, 55%)
HSV
hsv(90, 77%, 45%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.70:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.68: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: #46721A;
color: #46721A;
border-color: #46721A;
}
Tailwind CSS (with arbitrary values)
bg-[#46721A]
text-[#46721A]
border-[#46721A]
// Example usage:
<div className="bg-[#46721A]">