Hex Color #42512F - Custom Color
Color Codes
HEX
#42512F
RGB
rgb(66, 81, 47)
HSL
hsl(86, 27%, 25%)
CMYK
cmyk(19%, 0%, 42%, 68%)
HSV
hsv(86, 42%, 32%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.57:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.45: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: #42512F;
color: #42512F;
border-color: #42512F;
}
Tailwind CSS (with arbitrary values)
bg-[#42512F]
text-[#42512F]
border-[#42512F]
// Example usage:
<div className="bg-[#42512F]">