Color #7c8540
A muted dark yellow.
Conversions
#7c8540
rgb(124, 133, 64)
hsl(67.8, 35%, 38.6%)
hsv(67.8, 51.9%, 52.2%)
cmyk(6.8%, 0%, 51.9%, 47.8%)
lab(53.42, -14.09, 35.72)
lch(53.42, 38.4, 111.53)
oklch(59.4%, 0.0936, 115.44)
hwb(67.8, 25.1%, 47.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.29:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#808057 · ΔE 6.6
Deuteranopia
#7f7f5c · ΔE 8.2
Tritanopia
#7c6568 · ΔE 31.6
Achromatopsia
#808080 · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7c8540;
bg-[#7c8540]
Related colors
Frequently asked questions
#7c8540 (#7c8540) is rgb(124, 133, 64) in RGB.
No, #7c8540 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 #7c8540, or check how it holds up for accessibility.