Hex Color #42564F - Custom Color
Color Codes
HEX
#42564F
RGB
rgb(66, 86, 79)
HSL
hsl(159, 13%, 30%)
CMYK
cmyk(23%, 0%, 8%, 66%)
HSV
hsv(159, 23%, 34%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.85:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.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: #42564F;
color: #42564F;
border-color: #42564F;
}
Tailwind CSS (with arbitrary values)
bg-[#42564F]
text-[#42564F]
border-[#42564F]
// Example usage:
<div className="bg-[#42564F]">