Hex Color #40650A - Custom Color
Color Codes
HEX
#40650A
RGB
rgb(64, 101, 10)
HSL
hsl(84, 82%, 22%)
CMYK
cmyk(37%, 0%, 90%, 60%)
HSV
hsv(84, 90%, 40%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.81:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.08: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: #40650A;
color: #40650A;
border-color: #40650A;
}
Tailwind CSS (with arbitrary values)
bg-[#40650A]
text-[#40650A]
border-[#40650A]
// Example usage:
<div className="bg-[#40650A]">