Color #54795f
A muted medium green.
Conversions
#54795f
rgb(84, 121, 95)
hsl(137.8, 18%, 40.2%)
hsv(137.8, 30.6%, 47.5%)
cmyk(30.6%, 0%, 21.5%, 52.5%)
lab(47.48, -18.94, 10.14)
lch(47.48, 21.48, 151.84)
oklch(54%, 0.0583, 153.52)
hwb(137.8, 32.9%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (4.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#666666 · ΔE 18.3
Deuteranopia
#646168 · ΔE 23
Tritanopia
#566b6c · ΔE 13.3
Achromatopsia
#717171 · ΔE 17.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #54795f;
bg-[#54795f]
Related colors
Frequently asked questions
#54795f (#54795f) is rgb(84, 121, 95) in RGB.
No, #54795f 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 #54795f, or check how it holds up for accessibility.