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.

FormatValue
HEX#D3D3D3
RGBrgb(211, 211, 211)
HSLhsl(0, 0%, 83%)
CMYK0%, 0%, 0%, 17%
CSS namelightgray
.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.

#FBFBFB90% white
#F4F4F475% white
#EDEDED60% white
#E7E7E745% white
#E0E0E030% white
#DADADA15% white
#D3D3D3Base
Light Gray
#B3B3B315% black
#94949430% black
#74747445% black
#54545460% black
#35353575% black
#15151590% black

Contrast and readability

Black text
14.03:1
passes AA and AAA
White text
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.