#505142 color

#505142 rgb(80, 81, 66)
Shades of gray

The hex color #505142 is a dark, grayish yellow.

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

Its hue angle is 64°, with 10% saturation and 29% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 19% yellow and 68% black.

The closest named color is Kelp (#4D503C), a difference of 2.5 ΔE, a small difference.

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

#505142 color codes

HEX#505142
RGBrgb(80, 81, 66)
RGB percentrgb(31.4%, 31.8%, 25.9%)
HSLhsl(64, 10%, 29%)
HSV / HSBhsv(64, 19%, 32%)
CMYKcmyk(1%, 0%, 19%, 68%)
CIE LABlab(33.95, -3.4, 8.71)
CIE LCHlch(33.95, 9.35, 111.35)
CIE XYZxyz(7.234, 7.984, 6.313)
Decimal5263682
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #505142, 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 #505142RatioAAAAAAA large
Sample text2.6:1FailFailFail
Sample text8.09:1PassPassPass
#505142 as text onRatioAAAAAAA large
Sample text8.09:1PassPassPass
Sample text2.6: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 #505142 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #505142?
#505142 is a dark, grayish yellow, closest to the named color Kelp. It belongs to the gray family of colors.
What is the RGB value of #505142?
The RGB value is 80, 81, 66: 80 red, 81 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #505142?
The complementary color is #434251, found by rotating the hue 180° on the color wheel.
Is black or white text better on #505142?
White text. Black text has a contrast ratio of 2.6:1 and white text 8.09:1. WCAG asks for at least 4.5:1 for normal text.