Skip to content
Kolorvia
#5a5746

Color #5a5746

A nearly neutral, gray-leaning dark yellow.

Conversions

HEX
#5a5746
RGB
rgb(90, 87, 70)
HSL
hsl(51, 12.5%, 31.4%)
HSV / HSB
hsv(51, 22.2%, 35.3%)
CMYK
cmyk(0%, 3.3%, 22.2%, 64.7%)
LAB
lab(36.8, -2.01, 10.34)
LCH
lch(36.8, 10.53, 101)
OKLCH
oklch(45.5%, 0.0268, 99.01)
HWB
hwb(51, 27.5%, 64.7%)

Harmony colors

Complementary

#46495a

Analogous

#5a4d46
#5a5746
#535a46

Triadic

#5a5746
#465a57
#57465a

Split-complementary

#5a5746
#46535a
#4d465a

Tetradic

#5a5746
#495a46
#46495a
#57465a

Square

#5a5746
#465a4d
#46495a
#5a4653

Shades

Color #5a5746 mixed toward black.

#4b493a
#3c3a2f
#2d2c23
#1e1d17
#0f0f0c

Tints

Color #5a5746 mixed toward white.

#7b7760
#99957c
#b2af9d
#cccabd
#e5e4de

Tones

Color #5a5746 mixed toward gray.

#585648
#575549
#55544b
#53524d
#52514e

Accessibility

Aa White text on this color
7.28:1
Aa Black text on this color
2.89:1

White text reads better on this background (7.28:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#59594b · ΔE 2.1

Deuteranopia

#59594c · ΔE 2.3

Tritanopia

#5a4e4f · ΔE 13

Achromatopsia

#575757 · ΔE 8.7

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5a5746;
Tailwind (arbitrary value)
bg-[#5a5746]

Related colors

Gold #ffd700
Cornsilk #fff8dc
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Dark Khaki #bdb76b

Frequently asked questions

#5a5746 (#5a5746) is rgb(90, 87, 70) in RGB.

No, #5a5746 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5a5746, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.