Color #8c7f4e
A muted medium yellow.
Conversions
#8c7f4e
rgb(140, 127, 78)
hsl(47.4, 28.4%, 42.7%)
hsv(47.4, 44.3%, 54.9%)
cmyk(0%, 9.3%, 44.3%, 45.1%)
lab(53.28, -2.33, 28.39)
lch(53.28, 28.49, 94.69)
oklch(59.7%, 0.0694, 95.04)
hwb(47.4, 30.6%, 45.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.26:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#87865d · ΔE 5.3
Deuteranopia
#878860 · ΔE 6.3
Tritanopia
#8b6769 · ΔE 25.9
Achromatopsia
#7f7f7f · ΔE 17.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c7f4e;
bg-[#8c7f4e]
Related colors
Frequently asked questions
#8c7f4e (#8c7f4e) is rgb(140, 127, 78) in RGB.
No, #8c7f4e 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 #8c7f4e, or check how it holds up for accessibility.