Light Gray Color
HEX #D3D3D3 · rgb(211, 211, 211) · hsl(0, 0%, 83%)
Light Gray color codes
Light Gray is one of the named colors every browser understands. In CSS you can write it as lightgray or #D3D3D3. The spelling "lightgrey" is an exact synonym.
| Format | Value | |
|---|---|---|
| HEX | #D3D3D3 | |
| RGB | rgb(211, 211, 211) | |
| HSL | hsl(0, 0%, 83%) | |
| CMYK | 0%, 0%, 0%, 17% | |
| CSS name | lightgray |
.example {
color: lightgray;
background-color: #D3D3D3;
border-color: rgb(211, 211, 211);
}
Tints and shades of light gray
Tints mix the color with white; shades mix it with black.
Light Gray
Contrast and readability
14.03:1
passes AA and AAA
1.50:1
fails
Use black text on light gray. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for light gray?
The hex code for light gray is #D3D3D3.
What is the RGB value of light gray?
Light Gray is rgb(211, 211, 211): 211 red, 211 green and 211 blue on a 0 to 255 scale.
Does light gray have a complementary color?
No. Light Gray has no hue, so it has no complement. It pairs with any color.
Should text on light gray be black or white?
Use black text. The contrast ratio is 14.03:1 with black and 1.50:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.