#ECEBEB color
The hex color #ECEBEB is a light gray.
In the RGB color model it is made of 92.5% red, 92.2% green and 92.2% blue (236, 235, 235).
Its hue angle is 0°, with 3% saturation and 92% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 0% yellow and 7% black.
The closest named color is Mercury (#EBEBEB), a difference of 0.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 17.65:1).
#ECEBEB color codes
| HEX | #ECEBEB | |
|---|---|---|
| RGB | rgb(236, 235, 235) | |
| RGB percent | rgb(92.5%, 92.2%, 92.2%) | |
| HSL | hsl(0, 3%, 92%) | |
| HSV / HSB | hsv(0, 0%, 93%) | |
| CMYK | cmyk(0%, 0%, 0%, 7%) | |
| CIE LAB | lab(93.12, 0.33, 0.12) | |
| CIE LCH | lch(93.12, 0.35, 19.44) | |
| CIE XYZ | xyz(79.293, 83.248, 90.472) | |
| Decimal | 15526891 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #ECEBEB, 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 #ECEBEB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.65:1 | Pass | Pass | Pass |
| Sample text | 1.19:1 | Fail | Fail | Fail |
| #ECEBEB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.65: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 #ECEBEB looks to people with the most common types of color vision deficiency.
#ebebebProtanopia
no red cones#ebebebDeuteranopia
no green cones#ecebebTritanopia
no blue cones#ebebebAchromatopsia
no color vision
CSS examples
.background { background-color: #ecebeb; }
.text { color: #ecebeb; }
.border { border: 2px solid #ecebeb; }
.transparent { background-color: rgb(236 235 235 / 50%); }
.gradient { background: linear-gradient(to right, #ecebeb, #ececeb); }
Similar colors
#ebebebMercury#eaeaeaPlaster#eeeeeeSuper Silver#e7e7e7Placebo#ebe8e7Coconut Agony#eae9e7Glacial Ice#ebebe9Mystic White#f0efedWhite Glove
Closest common color name: Platinum.
Questions
- What color is #ECEBEB?
- #ECEBEB is a light gray, closest to the named color Mercury. It belongs to the gray family of colors.
- What is the RGB value of #ECEBEB?
- The RGB value is 236, 235, 235: 236 red, 235 green and 235 blue on a 0 to 255 scale.
- What is the complementary color of #ECEBEB?
- The complementary color is #EBECEC, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #ECEBEB?
- Black text. Black text has a contrast ratio of 17.65:1 and white text 1.19:1. WCAG asks for at least 4.5:1 for normal text.