Color #8e8b7c
A nearly neutral, gray-leaning medium yellow.
Conversions
#8e8b7c
rgb(142, 139, 124)
hsl(50, 7.4%, 52.2%)
hsv(50, 12.7%, 55.7%)
cmyk(0%, 2.1%, 12.7%, 44.3%)
lab(57.72, -1.63, 8.42)
lch(57.72, 8.58, 100.96)
oklch(63.5%, 0.0221, 97.8)
hwb(50, 48.6%, 44.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.13:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8d80 · ΔE 1.7
Deuteranopia
#8d8d81 · ΔE 1.9
Tritanopia
#8e8383 · ΔE 10.4
Achromatopsia
#8b8b8b · ΔE 7.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e8b7c;
bg-[#8e8b7c]
Related colors
Frequently asked questions
#8e8b7c (#8e8b7c) is rgb(142, 139, 124) in RGB.
No, #8e8b7c 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 #8e8b7c, or check how it holds up for accessibility.