Color #42794c
A muted dark green.
Conversions
#42794c
rgb(66, 121, 76)
hsl(130.9, 29.4%, 36.7%)
hsv(130.9, 45.5%, 47.5%)
cmyk(45.5%, 0%, 37.2%, 52.5%)
lab(46.12, -28.68, 19.17)
lch(46.12, 34.5, 146.24)
oklch(52.6%, 0.0916, 148.48)
hwb(130.9, 25.9%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (5.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5f5f59 · ΔE 20.5
Deuteranopia
#5b575c · ΔE 27.7
Tritanopia
#466364 · ΔE 18.6
Achromatopsia
#6d6d6d · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #42794c;
bg-[#42794c]
Related colors
Frequently asked questions
#42794c (#42794c) is rgb(66, 121, 76) in RGB.
No, #42794c 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 #42794c, or check how it holds up for accessibility.