#5A5F50 color

#5A5F50 rgb(90, 95, 80)
Shades of gray

The hex color #5A5F50 is a dark, grayish yellow-green.

In the RGB color model it is made of 35.3% red, 37.3% green and 31.4% blue (90, 95, 80).

Its hue angle is 80°, with 9% saturation and 34% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 16% yellow and 63% black.

The closest named color is Black Forest (#5E6354), a difference of 1.5 ΔE, which is barely visible.

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

#5A5F50 color codes

HEX#5A5F50
RGBrgb(90, 95, 80)
RGB percentrgb(35.3%, 37.3%, 31.4%)
HSLhsl(80, 9%, 34%)
HSV / HSBhsv(80, 16%, 37%)
CMYKcmyk(5%, 0%, 16%, 63%)
CIE LABlab(39.47, -5, 7.93)
CIE LCHlch(39.47, 9.38, 122.25)
CIE XYZxyz(9.756, 10.937, 9.185)
Decimal5922640
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A5F50, 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 #5A5F50RatioAAAAAAA large
Sample text3.19:1FailFailPass
Sample text6.59:1PassFailPass
#5A5F50 as text onRatioAAAAAAA large
Sample text6.59:1PassFailPass
Sample text3.19:1FailFailPass

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 #5A5F50 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a5f50; }
.text { color: #5a5f50; }
.border { border: 2px solid #5a5f50; }
.transparent { background-color: rgb(90 95 80 / 50%); }
.gradient { background: linear-gradient(to right, #5a5f50, #535f50); }
Background
Text color
Border

Similar colors

Questions

What color is #5A5F50?
#5A5F50 is a dark, grayish yellow-green, closest to the named color Black Forest. It belongs to the gray family of colors.
What is the RGB value of #5A5F50?
The RGB value is 90, 95, 80: 90 red, 95 green and 80 blue on a 0 to 255 scale.
What is the complementary color of #5A5F50?
The complementary color is #55505F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A5F50?
White text. Black text has a contrast ratio of 3.19:1 and white text 6.59:1. WCAG asks for at least 4.5:1 for normal text.