Skip to content
Kolorvia
#5a5821

Color #5a5821

A moderately saturated dark yellow.

Conversions

HEX
#5a5821
RGB
rgb(90, 88, 33)
HSL
hsl(57.9, 46.3%, 24.1%)
HSV / HSB
hsv(57.9, 63.3%, 35.3%)
CMYK
cmyk(0%, 2.2%, 63.3%, 64.7%)
LAB
lab(36.49, -7.28, 31.42)
LCH
lch(36.49, 32.25, 103.05)
OKLCH
oklch(45%, 0.0757, 107.14)
HWB
hwb(57.9, 12.9%, 64.7%)

Harmony colors

Complementary

#21235a

Analogous

#5a3b21
#5a5821
#3f5a21

Triadic

#5a5821
#215a58
#58215a

Split-complementary

#5a5821
#213f5a
#3b215a

Tetradic

#5a5821
#235a21
#21235a
#58215a

Square

#5a5821
#215a3b
#21235a
#5a213f

Shades

Color #5a5821 mixed toward black.

#4b491c
#3c3b16
#2d2c11
#1e1d0b
#0f0f06

Tints

Color #5a5821 mixed toward white.

#898632
#b8b444
#cbc871
#dcdaa1
#eeedd0

Tones

Color #5a5821 mixed toward gray.

#555426
#504f2a
#4c4b2f
#474634
#424239

Accessibility

Aa White text on this color
7.36:1
Aa Black text on this color
2.85:1

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

Under color vision deficiencies

Protanopia

#595935 · ΔE 4.9

Deuteranopia

#595938 · ΔE 5.8

Tritanopia

#5a4042 · ΔE 28

Achromatopsia

#565656 · ΔE 18.9

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

Code

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

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

Frequently asked questions

#5a5821 (#5a5821) is rgb(90, 88, 33) in RGB.

No, #5a5821 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5a5821, 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.