Light Grey Color
CSS light grey #D3D3D3 — a soft neutral gray. lightgrey and lightgray both work.
Light Grey
#D3D3D3
- HEX
- #D3D3D3
- RGB
- rgb(211, 211, 211)
- HSL
- hsl(0, 0%, 82.7%)
- HSV
- hsv(0, 0%, 82.7%)
- CMYKapproximation
- cmyk(0%, 0%, 0%, 17%)
- CSS name
- lightgrey
Open light grey in the color picker to adjust it or copy other formats.
About light grey
#D3D3D3 is the CSS named color lightgrey, which can also be spelled lightgray. All three channels are 211, so it is a perfectly neutral gray.
It sits between gainsboro (#DCDCDC), which is a little lighter, and silver (#C0C0C0), which is darker.
#D3D3D3 is the value of the CSS named color lightgrey, defined in the CSS Color specification and identical in every browser.
Other colors called light grey
- Gainsboro (CSS)
#DCDCDCSlightly lighter. - Silver (CSS)
#C0C0C0Slightly darker.
Light Grey shades and tints
Shades mix light grey with black, tints mix it with white — useful for hover states, borders and backgrounds. Click a swatch to copy its HEX code.
Colors that go with light grey
Light Grey is a neutral with no hue, so it has no complementary or triadic colors of its own. Neutrals go with almost any color — pick an accent in the color wheel or the palette generator.
Light Grey contrast and readability
On a light grey background, black text reads best (14.02:1). Here is how light grey works as a text color:
#D3D3D3 on white
1.49:1
Normal text sample
Large text
- AA normal text (4.5:1)Fail
- AA large text (3:1)Fail
- AAA normal text (7:1)Fail
- AAA large text (4.5:1)Fail
#D3D3D3 on black
14.02:1
Normal text sample
Large text
- AA normal text (4.5:1)Pass
- AA large text (3:1)Pass
- AAA normal text (7:1)Pass
- AAA large text (4.5:1)Pass
Light grey is ideal for borders, dividers, skeleton loaders and subtle backgrounds. It is far too light for text on white — use it for text only on dark backgrounds.
Using light grey in CSS and HTML
:root {
--color-light-grey: #D3D3D3;
}
.highlight {
background-color: var(--color-light-grey);
}.banner {
background-color: lightgrey;
color: #000000;
}
.label {
color: #D3D3D3;
border: 2px solid rgb(211, 211, 211);
}<p style="background-color: #D3D3D3; color: #000000;">
Light Grey background
</p>