Color #8f8a71
A nearly neutral, gray-leaning medium yellow.
Conversions
#8f8a71
rgb(143, 138, 113)
hsl(50, 11.8%, 50.2%)
hsv(50, 21%, 56.1%)
cmyk(0%, 3.5%, 21%, 43.9%)
lab(57.28, -2.5, 14.09)
lch(57.28, 14.31, 100.06)
oklch(63.1%, 0.0364, 97.89)
hwb(50, 44.3%, 43.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.04:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8d78 · ΔE 2.8
Deuteranopia
#8d8e79 · ΔE 3.3
Tritanopia
#8f7d7e · ΔE 16.7
Achromatopsia
#898989 · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8f8a71;
bg-[#8f8a71]
Related colors
Frequently asked questions
#8f8a71 (#8f8a71) is rgb(143, 138, 113) in RGB.
No, #8f8a71 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 #8f8a71, or check how it holds up for accessibility.