Color #98958a
A nearly neutral, gray-leaning medium yellow.
Conversions
#98958a
rgb(152, 149, 138)
hsl(47.1, 6.4%, 56.9%)
hsv(47.1, 9.2%, 59.6%)
cmyk(0%, 2%, 9.2%, 40.4%)
lab(61.66, -0.93, 6.2)
lch(61.66, 6.27, 98.53)
oklch(66.9%, 0.0162, 94.24)
hwb(47.1, 54.1%, 40.4%)
Harmony colors
Accessibility
Black text reads better on this background (7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#97978d · ΔE 1.6
Deuteranopia
#97978d · ΔE 1.6
Tritanopia
#988f8f · ΔE 7.8
Achromatopsia
#959595 · ΔE 5.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #98958a;
bg-[#98958a]
Related colors
Frequently asked questions
#98958a (#98958a) is rgb(152, 149, 138) in RGB.
No, #98958a 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 #98958a, or check how it holds up for accessibility.