Color #978a57
A muted medium yellow.
Conversions
#978a57
rgb(151, 138, 87)
hsl(47.8, 26.9%, 46.7%)
hsv(47.8, 42.4%, 59.2%)
cmyk(0%, 8.6%, 42.4%, 40.8%)
lab(57.51, -2.7, 29.06)
lch(57.51, 29.19, 95.31)
oklch(63.3%, 0.0713, 95.55)
hwb(47.8, 34.1%, 40.8%)
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
#929166 · ΔE 5.1
Deuteranopia
#92936a · ΔE 6.2
Tritanopia
#967173 · ΔE 26.3
Achromatopsia
#8a8a8a · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #978a57;
bg-[#978a57]
Related colors
Frequently asked questions
#978a57 (#978a57) is rgb(151, 138, 87) in RGB.
No, #978a57 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 #978a57, or check how it holds up for accessibility.