Color #5a5748
A nearly neutral, gray-leaning dark yellow.
Conversions
#5a5748
rgb(90, 87, 72)
hsl(50, 11.1%, 31.8%)
hsv(50, 20%, 35.3%)
cmyk(0%, 3.3%, 20%, 64.7%)
lab(36.85, -1.66, 9.17)
lch(36.85, 9.32, 100.26)
oklch(45.5%, 0.0238, 97.96)
hwb(50, 28.2%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (7.26:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#59594c · ΔE 1.9
Deuteranopia
#59594d · ΔE 2.1
Tritanopia
#5a4f50 · ΔE 11.7
Achromatopsia
#575757 · ΔE 7.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a5748;
bg-[#5a5748]
Related colors
Frequently asked questions
#5a5748 (#5a5748) is rgb(90, 87, 72) in RGB.
No, #5a5748 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 #5a5748, or check how it holds up for accessibility.