Light gray #D3D3D3
Light gray is one of the named colours in CSS, written lightgray or lightgrey. Black text reaches 14.03:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | lightgray or lightgrey |
|---|---|
| HEX | #D3D3D3 |
| RGB | rgb(211 211 211) |
| HSL | hsl(0 0% 83%) |
| OKLCH | oklch(86.7% 0.000 0) |
| White text | 1.50:1 · body text AA Fail |
| Black text | 14.03:1 · body text AA Pass |
Colours that go with Light gray
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Nile Blue (#BCE4E5), close. These are the colours Wada paired it with, ranked by their contrast with Light gray itself.
| Colour | HEX | Contrast with Light gray | Body text AA |
|---|---|---|---|
| Deep Slate Olive | #253122 | 9.10:1 | Pass |
| Hay's Russet | #793327 | 6.06:1 | Pass |
| Blue Violet | #6450A1 | 4.38:1 | Fail |
| Antwarp Blue | #007190 | 3.73:1 | Fail |
| Etruscan Red | #C55347 | 2.98:1 | Fail |
| Dull Viridian Green | #009465 | 2.59:1 | Fail |
| Raw Sienna | #BB7125 | 2.55:1 | Fail |
| Green Blue | #099197 | 2.55:1 | Fail |
| Benzol Green | #00978D | 2.41:1 | Fail |
| Peach Red | #F15A30 | 2.25:1 | Fail |
| Light Brown Drab | #B59392 | 1.86:1 | Fail |
| Sea Green | #00B49B | 1.75:1 | Fail |
| Salvia Blue | #97ACC8 | 1.55:1 | Fail |
| Ecru | #C2AE93 | 1.44:1 | Fail |
| Pyrite Yellow | #CAB356 | 1.39:1 | Fail |
| Venice Green | #62C6BF | 1.36:1 | Fail |
| Lemon Yellow | #F8ED43 | 1.23:1 | Fail |
| Olive Buff | #C1C494 | 1.21:1 | Fail |
| Cream Yellow | #FDBF68 | 1.09:1 | Fail |
Palettes with Nile Blue
- Combination #25 Etruscan Red · Nile Blue
- Combination #250 Pyrite Yellow · Peach Red · Sea Green · Nile Blue
- Combination #268 Light Brown Drab · Raw Sienna · Deep Slate Olive · Nile Blue
- Combination #302 Cream Yellow · Ecru · Nile Blue · Antwarp Blue
- Combination #306 Lemon Yellow · Benzol Green · Dull Viridian Green · Nile Blue
- Combination #330 Olive Buff · Nile Blue · Salvia Blue · Green Blue
- Combination #345 Hay's Russet · Nile Blue · Venice Green · Blue Violet
Shades and tints of Light gray
Nine lightness steps in OKLCH that keep the hue of Light gray. Chroma is reduced only where sRGB cannot show it.
- 100#F5F5F5
- 200#E4E4E4
- 300#CECECE
- 400#B1B1B1
- 500#929292
- 600#717171
- 700#555555
- 800#3A3A3A
- 900#222222
:root {
--lightgray-100: #F5F5F5;
--lightgray-200: #E4E4E4;
--lightgray-300: #CECECE;
--lightgray-400: #B1B1B1;
--lightgray-500: #929292;
--lightgray-600: #717171;
--lightgray-700: #555555;
--lightgray-800: #3A3A3A;
--lightgray-900: #222222;
}
Text that keeps Light gray on screen
Text #222222 on #D3D3D3 reaches 10.63:1, which passes WCAG AA for body text. Check it on a dashboard