Color #42a760
A moderately saturated medium green.
Conversions
#42a760
rgb(66, 167, 96)
hsl(137.8, 43.3%, 45.7%)
hsv(137.8, 60.5%, 65.5%)
cmyk(60.5%, 0%, 42.5%, 34.5%)
lab(61.34, -45.3, 28.19)
lch(61.34, 53.36, 148.11)
oklch(65.1%, 0.1409, 150.36)
hwb(137.8, 25.9%, 34.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.93:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7c76 · ΔE 24.7
Deuteranopia
#756d7b · ΔE 35
Tritanopia
#4b8588 · ΔE 24.4
Achromatopsia
#949494 · ΔE 25.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #42a760;
bg-[#42a760]
Related colors
Frequently asked questions
#42a760 (#42a760) is rgb(66, 167, 96) in RGB.
No, #42a760 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #42a760, or check how it holds up for accessibility.