Hex Color #526762 - Custom Color
Color Codes
HEX
#526762
RGB
rgb(82, 103, 98)
HSL
hsl(166, 11%, 36%)
CMYK
cmyk(20%, 0%, 5%, 60%)
HSV
hsv(166, 20%, 40%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.04:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.48: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: #526762;
color: #526762;
border-color: #526762;
}
Tailwind CSS (with arbitrary values)
bg-[#526762]
text-[#526762]
border-[#526762]
// Example usage:
<div className="bg-[#526762]">