Color #979271
A muted medium yellow.
Conversions
#979271
rgb(151, 146, 113)
hsl(52.1, 15.4%, 51.8%)
hsv(52.1, 25.2%, 59.2%)
cmyk(0%, 3.3%, 25.2%, 40.8%)
lab(60.19, -3.72, 18.2)
lch(60.19, 18.58, 101.55)
oklch(65.6%, 0.047, 100.42)
hwb(52.1, 44.3%, 40.8%)
Harmony colors
Accessibility
Black text reads better on this background (6.67:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#95957a · ΔE 2.9
Deuteranopia
#95967c · ΔE 3.5
Tritanopia
#978182 · ΔE 20.5
Achromatopsia
#919191 · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #979271;
bg-[#979271]
Related colors
Frequently asked questions
#979271 (#979271) is rgb(151, 146, 113) in RGB.
No, #979271 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 #979271, or check how it holds up for accessibility.