#515140 color

#515140 rgb(81, 81, 64)
Shades of gray

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

In the RGB color model it is made of 31.8% red, 31.8% green and 25.1% blue (81, 81, 64).

Its hue angle is 60°, with 12% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 21% yellow and 68% black.

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

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

#515140 color codes

HEX#515140
RGBrgb(81, 81, 64)
RGB percentrgb(31.8%, 31.8%, 25.1%)
HSLhsl(60, 12%, 28%)
HSV / HSBhsv(60, 21%, 32%)
CMYKcmyk(0%, 0%, 21%, 68%)
CIE LABlab(33.99, -3.33, 10.04)
CIE LCHlch(33.99, 10.57, 108.34)
CIE XYZxyz(7.261, 8.004, 6.012)
Decimal5329216
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #515140?
#515140 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 #515140?
The RGB value is 81, 81, 64: 81 red, 81 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #515140?
The complementary color is #404051, found by rotating the hue 180° on the color wheel.
Is black or white text better on #515140?
White text. Black text has a contrast ratio of 2.6:1 and white text 8.07:1. WCAG asks for at least 4.5:1 for normal text.