#51584C color
The hex color #51584C is a gray.
In the RGB color model it is made of 31.8% red, 34.5% green and 29.8% blue (81, 88, 76).
Its hue angle is 95°, with 7% saturation and 32% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 14% yellow and 65% black.
The closest named color is Ebony (#555D50), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.37:1).
#51584C color codes
| HEX | #51584C | |
|---|---|---|
| RGB | rgb(81, 88, 76) | |
| RGB percent | rgb(31.8%, 34.5%, 29.8%) | |
| HSL | hsl(95, 7%, 32%) | |
| HSV / HSB | hsv(95, 14%, 35%) | |
| CMYK | cmyk(8%, 0%, 14%, 65%) | |
| CIE LAB | lab(36.46, -5.31, 6.03) | |
| CIE LCH | lch(36.46, 8.03, 131.39) | |
| CIE XYZ | xyz(8.187, 9.251, 8.19) | |
| Decimal | 5331020 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51584C, 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 #51584C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.85:1 | Fail | Fail | Fail |
| Sample text | 7.37:1 | Pass | Pass | Pass |
| #51584C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.37:1 | Pass | Pass | Pass |
| Sample text | 2.85:1 | Fail | Fail | Fail |
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 #51584C looks to people with the most common types of color vision deficiency.
#59564bProtanopia
no red cones#58564dDeuteranopia
no green cones#515755Tritanopia
no blue cones#565656Achromatopsia
no color vision
CSS examples
.background { background-color: #51584c; }
.text { color: #51584c; }
.border { border: 2px solid #51584c; }
.transparent { background-color: rgb(81 88 76 / 50%); }
.gradient { background: linear-gradient(to right, #51584c, #4c584d); }
Similar colors
#555d50Ebony#4e5a4aVerdant Hush#5e6354Black Forest#444b43Ancient Pine#4d503cKelp#595d45Tree of Life#555b59Crucible#424f3bHōjicha
Questions
- What color is #51584C?
- #51584C is a gray, closest to the named color Ebony. It belongs to the gray family of colors.
- What is the RGB value of #51584C?
- The RGB value is 81, 88, 76: 81 red, 88 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #51584C?
- The complementary color is #534C58, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51584C?
- White text. Black text has a contrast ratio of 2.85:1 and white text 7.37:1. WCAG asks for at least 4.5:1 for normal text.