Hex Color #42B62C - Custom Color
Color Codes
HEX
#42B62C
RGB
rgb(66, 182, 44)
HSL
hsl(110, 61%, 44%)
CMYK
cmyk(64%, 0%, 76%, 29%)
HSV
hsv(110, 76%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.64:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.96:1
Pass - WCAG AA (Normal Text)
Pass - 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: #42B62C;
color: #42B62C;
border-color: #42B62C;
}
Tailwind CSS (with arbitrary values)
bg-[#42B62C]
text-[#42B62C]
border-[#42B62C]
// Example usage:
<div className="bg-[#42B62C]">