#5D5840 color

#5D5840 rgb(93, 88, 64)
Shades of brown

The hex color #5D5840 is a dark, grayish yellow.

In the RGB color model it is made of 36.5% red, 34.5% green and 25.1% blue (93, 88, 64).

Its hue angle is 50°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 31% yellow and 64% black.

The closest named color is Olive Bark (#5F5537), a difference of 3.2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 7.15:1).

#5D5840 color codes

HEX#5D5840
RGBrgb(93, 88, 64)
RGB percentrgb(36.5%, 34.5%, 25.1%)
HSLhsl(50, 18%, 31%)
HSV / HSBhsv(50, 31%, 36%)
CMYKcmyk(0%, 5%, 31%, 64%)
CIE LABlab(37.26, -2.25, 14.68)
CIE LCHlch(37.26, 14.86, 98.73)
CIE XYZxyz(8.929, 9.677, 6.247)
Decimal6117440
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5D5840, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #5D5840RatioAAAAAAA large
Sample text2.94:1FailFailFail
Sample text7.15:1PassPassPass
#5D5840 as text onRatioAAAAAAA large
Sample text7.15:1PassPassPass
Sample text2.94:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #5D5840 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5d5840; }
.text { color: #5d5840; }
.border { border: 2px solid #5d5840; }
.transparent { background-color: rgb(93 88 64 / 50%); }
.gradient { background: linear-gradient(to right, #5d5840, #535d40); }
Background
Text color
Border

Similar colors

Closest common color name: Ebony.

Questions

What color is #5D5840?
#5D5840 is a dark, grayish yellow, closest to the named color Olive Bark. It belongs to the brown family of colors.
What is the RGB value of #5D5840?
The RGB value is 93, 88, 64: 93 red, 88 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #5D5840?
The complementary color is #40455D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5D5840?
White text. Black text has a contrast ratio of 2.94:1 and white text 7.15:1. WCAG asks for at least 4.5:1 for normal text.