Mercury color: hex code #EBEBEB
Mercury has the hex code #EBEBEB. It is a light gray.
In the RGB color model it is made of 92.2% red, 92.2% green and 92.2% blue (235, 235, 235).
Its hue angle is 0°, with 0% saturation and 92% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 0% yellow and 8% black.
Black text is the more readable choice on this background (contrast 17.62:1).
Mercury (#EBEBEB) color codes
| HEX | #EBEBEB | |
|---|---|---|
| RGB | rgb(235, 235, 235) | |
| RGB percent | rgb(92.2%, 92.2%, 92.2%) | |
| HSL | hsl(0, 0%, 92%) | |
| HSV / HSB | hsv(0, 0%, 92%) | |
| CMYK | cmyk(0%, 0%, 0%, 8%) | |
| CIE LAB | lab(93.05, 0, 0) | |
| CIE LCH | lch(93.05, 0, 158.2) | |
| CIE XYZ | xyz(78.962, 83.077, 90.457) | |
| Decimal | 15461355 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Mercury, 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 #EBEBEB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.62:1 | Pass | Pass | Pass |
| Sample text | 1.19:1 | Fail | Fail | Fail |
| #EBEBEB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.62:1 | Pass | Pass | 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 #EBEBEB looks to people with the most common types of color vision deficiency.
#ebebebProtanopia
no red cones#ebebebDeuteranopia
no green cones#ebebebTritanopia
no blue cones#ebebebAchromatopsia
no color vision
CSS examples
.background { background-color: #ebebeb; }
.text { color: #ebebeb; }
.border { border: 2px solid #ebebeb; }
.transparent { background-color: rgb(235 235 235 / 50%); }
.gradient { background: linear-gradient(to right, #ebebeb, #ebebeb); }
Similar colors
#eaeaeaPlaster#eeeeeeSuper Silver#e7e7e7Placebo#ebebe9Mystic White#eff0f0Snowflake#eae9e7Glacial Ice#f0efedWhite Glove#ebe8e7Coconut Agony
Closest common color name: Platinum.
See #EBEBEB on its hex code page
Questions
- What color is #EBEBEB?
- #EBEBEB is a light gray known as Mercury. It belongs to the gray family of colors.
- What is the RGB value of Mercury?
- The RGB value is 235, 235, 235: 235 red, 235 green and 235 blue on a 0 to 255 scale.
- What is the complementary color of Mercury?
- The complementary color is #EBEBEB, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #EBEBEB?
- Black text. Black text has a contrast ratio of 17.62:1 and white text 1.19:1. WCAG asks for at least 4.5:1 for normal text.