Light Gray Color Code: Hex #D3D3D3
The hex code for Light Gray is #D3D3D3 (the CSS keyword lightgray). Light Gray RGB code: rgb(211, 211, 211). The xkcd color survey gives #D8DCD6 instead, which looks slightly different; both codes are below with their source.
#D3D3D3Top: the code browsers use#D8DCD6Below: compare edge to edgeLight Gray color codes: each Light Gray hex code in every format
Sources
Properties
- Hex codes
- 2 different ones in 3 color lists; they look slightly different
- Family
- gray
- Contrast
- 1.50:1 with white, 14.03:1 with black
- CSS keyword
- lightgray
- Also written
- lightgrey
- Character
- light, near-neutral
- Readable text on it
- black (AA)
A light, almost neutral tint. In code, lightgray gives exactly this web value. If you mean the color as people usually picture the name, the survey value #D8DCD6 is closer: it is lighter and about as saturated.
Black text reads best on it; white text does not pass WCAG AA. Light versions fade to white quickly, so for backgrounds use it near full strength. Next to Gainsboro, its closest named neighbour, it looks darker, about as saturated and neither warmer nor cooler; beside Silver it looks lighter, about as saturated and neither warmer nor cooler.
Colors that go with Light Gray
Complementary: the opposite of Light Gray
#D3D3D3Black text 14.03:1#D3D3D3Black text 14.03:1#E7E7E7Black text 16.98:1#828282Black text 5.46:1
Analogous
#D3D3D3Black text 14.03:1#D3D3D3Black text 14.03:1#D3D3D3Black text 14.03:1#EDEDEDBlack text 17.94:1
Triadic
#D3D3D3Black text 14.03:1#D3D3D3Black text 14.03:1#D3D3D3Black text 14.03:1#F4F4F4Black text 19.09:1
Monochrome
#3A3A3AWhite text 11.37:1#828282Black text 5.46:1#D3D3D3Black text 14.03:1#E0E0E0Black text 15.91:1#EDEDEDBlack text 17.94:1
With neutrals
#D3D3D3Black text 14.03:1#F4F4F4Black text 19.09:1#1A1A1AWhite text 17.40:1#989898Black text 7.28:1
Preview
Heading on Light Gray
Body text on this color, 14.03:1.
ButtonHeading in Light Gray
Text in this color on white, 1.50:1.
ButtonTints and shades
#F4F4F4#EDEDED#E7E7E7#E0E0E0#D9D9D9#D3D3D3#AAAAAA#828282#5D5D5D#3A3A3A#1A1A1A
WhiteLight GrayBlack
Similar named colors
Lists and sources
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: