#7B817F color
The hex color #7B817F is a gray.
In the RGB color model it is made of 48.2% red, 50.6% green and 49.8% blue (123, 129, 127).
Its hue angle is 160°, with 2% saturation and 49% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 2% yellow and 49% black.
The closest named color is Whale (#7C8181), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.29:1).
#7B817F color codes
| HEX | #7B817F | |
|---|---|---|
| RGB | rgb(123, 129, 127) | |
| RGB percent | rgb(48.2%, 50.6%, 49.8%) | |
| HSL | hsl(160, 2%, 49%) | |
| HSV / HSB | hsv(160, 5%, 51%) | |
| CMYK | cmyk(5%, 0%, 2%, 49%) | |
| CIE LAB | lab(53.43, -2.63, 0.31) | |
| CIE LCH | lch(53.43, 2.65, 173.29) | |
| CIE XYZ | xyz(19.849, 21.444, 23.168) | |
| Decimal | 8094079 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B817F, 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 #7B817F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.29:1 | Pass | Fail | Pass |
| Sample text | 3.97:1 | Fail | Fail | Pass |
| #7B817F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.97:1 | Fail | Fail | Pass |
| Sample text | 5.29:1 | Pass | Fail | Pass |
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 #7B817F looks to people with the most common types of color vision deficiency.
#81807fProtanopia
no red cones#7f7f7fDeuteranopia
no green cones#7a8180Tritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #7b817f; }
.text { color: #7b817f; }
.border { border: 2px solid #7b817f; }
.transparent { background-color: rgb(123 129 127 / 50%); }
.gradient { background: linear-gradient(to right, #7b817f, #7b8081); }
Similar colors
#7c8181Whale#818581Happy Hippo#7f8181Mt. Rushmore#7a7c76Gunsmoke#838585Gryphon#7e8082Ironside#848482Battleship Gray#848482Old Silver
Questions
- What color is #7B817F?
- #7B817F is a gray, closest to the named color Whale. It belongs to the gray family of colors.
- What is the RGB value of #7B817F?
- The RGB value is 123, 129, 127: 123 red, 129 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #7B817F?
- The complementary color is #817B7D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B817F?
- Black text. Black text has a contrast ratio of 5.29:1 and white text 3.97:1. WCAG asks for at least 4.5:1 for normal text.