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