Hex Color #42604B - Custom Color

Color Codes

HEX
#42604B
RGB
rgb(66, 96, 75)
HSL
hsl(138, 19%, 32%)
CMYK
cmyk(31%, 0%, 22%, 62%)
HSV
hsv(138, 31%, 38%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 6.99:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 3.01: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: #42604B;
color: #42604B;
border-color: #42604B;
}

Tailwind CSS (with arbitrary values)

bg-[#42604B]
text-[#42604B]
border-[#42604B]
// Example usage:
<div className="bg-[#42604B]">