Color #8e8a7e
A nearly neutral, gray-leaning medium yellow.
Conversions
#8e8a7e
rgb(142, 138, 126)
hsl(45, 6.6%, 52.5%)
hsv(45, 11.3%, 55.7%)
cmyk(0%, 2.8%, 11.3%, 44.3%)
lab(57.5, -0.72, 6.96)
lch(57.5, 7, 95.91)
oklch(63.3%, 0.0182, 91.57)
hwb(45, 49.4%, 44.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.09:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8c81 · ΔE 2.1
Deuteranopia
#8d8d82 · ΔE 2.2
Tritanopia
#8e8384 · ΔE 9.2
Achromatopsia
#8a8a8a · ΔE 6.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e8a7e;
bg-[#8e8a7e]
Related colors
Frequently asked questions
#8e8a7e (#8e8a7e) is rgb(142, 138, 126) in RGB.
No, #8e8a7e 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 #8e8a7e, or check how it holds up for accessibility.