#787B7F color
The hex color #787B7F is a gray.
In the RGB color model it is made of 47.1% red, 48.2% green and 49.8% blue (120, 123, 127).
Its hue angle is 214°, with 3% saturation and 48% lightness. For print, the CMYK equivalent is 6% cyan, 3% magenta, 0% yellow and 50% black.
The closest named color is Ironside (#7E8082), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.94:1).
#787B7F color codes
| HEX | #787B7F | |
|---|---|---|
| RGB | rgb(120, 123, 127) | |
| RGB percent | rgb(47.1%, 48.2%, 49.8%) | |
| HSL | hsl(214, 3%, 48%) | |
| HSV / HSB | hsv(214, 6%, 50%) | |
| CMYK | cmyk(6%, 3%, 0%, 50%) | |
| CIE LAB | lab(51.49, -0.3, -2.57) | |
| CIE LCH | lch(51.49, 2.59, 263.42) | |
| CIE XYZ | xyz(18.659, 19.691, 22.892) | |
| Decimal | 7895935 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787B7F, 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 #787B7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.94:1 | Pass | Fail | Pass |
| Sample text | 4.25:1 | Fail | Fail | Pass |
| #787B7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.25:1 | Fail | Fail | Pass |
| Sample text | 4.94: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 #787B7F looks to people with the most common types of color vision deficiency.
#7a7b7fProtanopia
no red cones#797a7fDeuteranopia
no green cones#767c7cTritanopia
no blue cones#7b7b7bAchromatopsia
no color vision
CSS examples
.background { background-color: #787b7f; }
.text { color: #787b7f; }
.border { border: 2px solid #787b7f; }
.transparent { background-color: rgb(120 123 127 / 50%); }
.gradient { background: linear-gradient(to right, #787b7f, #79787f); }
Similar colors
#7e8082Ironside#767d86Nocturnal#777777Lucky Gray#717378Space Gray#808080Gray#7f8181Mt. Rushmore#7c8181Whale#828287Lunar Outpost
Questions
- What color is #787B7F?
- #787B7F is a gray, closest to the named color Ironside. It belongs to the gray family of colors.
- What is the RGB value of #787B7F?
- The RGB value is 120, 123, 127: 120 red, 123 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #787B7F?
- The complementary color is #7F7C78, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787B7F?
- Black text. Black text has a contrast ratio of 4.94:1 and white text 4.25:1. WCAG asks for at least 4.5:1 for normal text.