#7B7B7C color
The hex color #7B7B7C is a gray.
In the RGB color model it is made of 48.2% red, 48.2% green and 48.6% blue (123, 123, 124).
Its hue angle is 240°, with 0% saturation and 48% lightness. For print, the CMYK equivalent is 1% cyan, 1% magenta, 0% yellow and 51% black.
The closest named color is Lucky Gray (#777777), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.97:1).
#7B7B7C color codes
| HEX | #7B7B7C | |
|---|---|---|
| RGB | rgb(123, 123, 124) | |
| RGB percent | rgb(48.2%, 48.2%, 48.6%) | |
| HSL | hsl(240, 0%, 48%) | |
| HSV / HSB | hsv(240, 1%, 49%) | |
| CMYK | cmyk(1%, 1%, 0%, 51%) | |
| CIE LAB | lab(51.65, 0.2, -0.54) | |
| CIE LCH | lch(51.65, 0.58, 290.25) | |
| CIE XYZ | xyz(18.889, 19.832, 21.898) | |
| Decimal | 8092540 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B7B7C, 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 #7B7B7C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.97:1 | Pass | Fail | Pass |
| Sample text | 4.23:1 | Fail | Fail | Pass |
| #7B7B7C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.23:1 | Fail | Fail | Pass |
| Sample text | 4.97: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 #7B7B7C looks to people with the most common types of color vision deficiency.
#7b7b7cProtanopia
no red cones#7b7b7cDeuteranopia
no green cones#7b7b7bTritanopia
no blue cones#7b7b7bAchromatopsia
no color vision
CSS examples
.background { background-color: #7b7b7c; }
.text { color: #7b7b7c; }
.border { border: 2px solid #7b7b7c; }
.transparent { background-color: rgb(123 123 124 / 50%); }
.gradient { background: linear-gradient(to right, #7b7b7c, #7c7b7c); }
Similar colors
#777777Lucky Gray#808080Gray#7e8082Ironside#7f8181Mt. Rushmore#757374Bank Vault#7c8181Whale#737274Paris Paving#828287Lunar Outpost
Questions
- What color is #7B7B7C?
- #7B7B7C is a gray, closest to the named color Lucky Gray. It belongs to the gray family of colors.
- What is the RGB value of #7B7B7C?
- The RGB value is 123, 123, 124: 123 red, 123 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #7B7B7C?
- The complementary color is #7C7C7B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B7B7C?
- Black text. Black text has a contrast ratio of 4.97:1 and white text 4.23:1. WCAG asks for at least 4.5:1 for normal text.