#505B42 color

#505B42 rgb(80, 91, 66)
Shades of green

The hex color #505B42 is a dark, grayish yellow-green.

In the RGB color model it is made of 31.4% red, 35.7% green and 25.9% blue (80, 91, 66).

Its hue angle is 86°, with 16% saturation and 31% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 27% yellow and 64% black.

The closest named color is Heavy Green (#49583E), a difference of 2.1 ΔE, a small difference.

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

#505B42 color codes

HEX#505B42
RGBrgb(80, 91, 66)
RGB percentrgb(31.4%, 35.7%, 25.9%)
HSLhsl(86, 16%, 31%)
HSV / HSBhsv(86, 27%, 36%)
CMYKcmyk(12%, 0%, 27%, 64%)
CIE LABlab(37.08, -9.37, 13.03)
CIE LCHlch(37.08, 16.05, 125.72)
CIE XYZxyz(8.033, 9.581, 6.579)
Decimal5266242
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #505B42, 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 #505B42RatioAAAAAAA large
Sample text2.92:1FailFailFail
Sample text7.2:1PassPassPass
#505B42 as text onRatioAAAAAAA large
Sample text7.2:1PassPassPass
Sample text2.92: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 #505B42 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #505b42; }
.text { color: #505b42; }
.border { border: 2px solid #505b42; }
.transparent { background-color: rgb(80 91 66 / 50%); }
.gradient { background: linear-gradient(to right, #505b42, #445b42); }
Background
Text color
Border

Similar colors

Closest common color name: Ebony.

Questions

What color is #505B42?
#505B42 is a dark, grayish yellow-green, closest to the named color Heavy Green. It belongs to the green family of colors.
What is the RGB value of #505B42?
The RGB value is 80, 91, 66: 80 red, 91 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #505B42?
The complementary color is #4D425B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #505B42?
White text. Black text has a contrast ratio of 2.92:1 and white text 7.2:1. WCAG asks for at least 4.5:1 for normal text.