Color #5a5830
A muted dark yellow.
Conversions
#5a5830
rgb(90, 88, 48)
hsl(57.1, 30.4%, 27.1%)
hsv(57.1, 46.7%, 35.3%)
cmyk(0%, 2.2%, 46.7%, 64.7%)
lab(36.68, -5.78, 23.42)
lch(36.68, 24.12, 103.86)
oklch(45.2%, 0.0588, 106)
hwb(57.1, 18.8%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (7.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#59593d · ΔE 3.8
Deuteranopia
#59593f · ΔE 4.5
Tritanopia
#5a4546 · ΔE 23.9
Achromatopsia
#565656 · ΔE 16
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a5830;
bg-[#5a5830]
Related colors
Frequently asked questions
#5a5830 (#5a5830) is rgb(90, 88, 48) in RGB.
No, #5a5830 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 #5a5830, or check how it holds up for accessibility.