#D3D3D3Lightgray is a light neutral — a gray that works as a supporting color rather than a statement. Also written as lightgrey in CSS — both spellings resolve to #D3D3D3.
Lightgray sits at 83% lightness with almost no saturation, which makes it a true workhorse neutral. In practice it behaves best as a page background or surface color: it stays out of the way, lets accent colors do the talking, and pairs safely with nearly any hue on the wheel.
Lightgray is light enough that it pairs better with dark text than white: black type on lightgray hits 14.03:1 — comfortably past the WCAG AA threshold — while white manages only 1.50:1. It shines as a section background, card fill or subtle highlight where a full-strength accent would shout.
Every palette below is computed from lightgray's position on the color wheel (hue 0°). Hover any swatch to see its code; click to copy.
Tints mix lightgray toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how lightgray performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Lightgray | 1.50:1 | Fail | Fail |
| Black text on Lightgray | 14.03:1 | AAA | AAA |
#D3D3D3#D3D3D3#D3D3D3Copy-ready snippets. In CSS you can also use the keyword lightgray directly.
:root {
--lightgray: #D3D3D3;
--lightgray-rgb: 211, 211, 211;
--lightgray-tint: #E7E7E7;
--lightgray-shade: #747474;
}
.btn-lightgray {
background: var(--lightgray);
color: #000000;
}
// tailwind.config.js
colors: {
'lightgray': {
DEFAULT: '#D3D3D3',
light: '#E7E7E7',
dark: '#747474',
},
}
The closest CSS named colors by perceptual (Lab) distance.