Color #5a5843
A nearly neutral, gray-leaning dark yellow.
Conversions
#5a5843
rgb(90, 88, 67)
hsl(54.8, 14.6%, 30.8%)
hsv(54.8, 25.6%, 35.3%)
cmyk(0%, 2.2%, 25.6%, 64.7%)
lab(37.04, -3.11, 12.51)
lch(37.04, 12.89, 103.96)
oklch(45.6%, 0.0326, 103.14)
hwb(54.8, 26.3%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (7.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#595949 · ΔE 2.2
Deuteranopia
#59594a · ΔE 2.6
Tritanopia
#5a4d4e · ΔE 15.4
Achromatopsia
#575757 · ΔE 10.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a5843;
bg-[#5a5843]
Related colors
Frequently asked questions
#5a5843 (#5a5843) is rgb(90, 88, 67) in RGB.
No, #5a5843 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 #5a5843, or check how it holds up for accessibility.