Color #948c52
A muted medium yellow.
Conversions
#948c52
rgb(148, 140, 82)
hsl(52.7, 28.7%, 45.1%)
hsv(52.7, 44.6%, 58%)
cmyk(0%, 5.4%, 44.6%, 42%)
lab(57.71, -5.64, 31.97)
lch(57.71, 32.46, 100)
oklch(63.3%, 0.0789, 101.48)
hwb(52.7, 32.2%, 42%)
Harmony colors
Accessibility
Black text reads better on this background (6.13:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#919164 · ΔE 4.5
Deuteranopia
#919268 · ΔE 5.4
Tritanopia
#947072 · ΔE 28.5
Achromatopsia
#8b8b8b · ΔE 18.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #948c52;
bg-[#948c52]
Related colors
Frequently asked questions
#948c52 (#948c52) is rgb(148, 140, 82) in RGB.
No, #948c52 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 #948c52, or check how it holds up for accessibility.