Light Gray Color (#D3D3D3)
Light Gray is a CSS named color defined as hex code #D3D3D3. Light Gray is a very light neutral gray with equal red, green and blue values of 211.
Color Overview & Formats
lightgrayLuminance: 0.6514| Format | Syntax / Values | Notes | Action |
|---|---|---|---|
| HEX | #D3D3D3 | 6-digit hex web code | |
| RGB | rgb(211, 211, 211) | Red, Green, Blue channels (0-255) | |
| HSL | hsl(0, 0%, 83%) | Hue (0°), Saturation (0%), Lightness (83%) | |
| HSV / HSB | hsv(0, 0%, 83%) | Hue, Saturation (0%), Value/Brightness (83%) | |
| CMYK | cmyk(0%, 0%, 0%, 17%) | Digital mathematical approximation (non-print) | |
| OKLCH | oklch(0.867 0.000 0.0) | Perceptually uniform color space (CSS Color 4 approximation) |
background-color: #D3D3D3; /* or lightgray */- Select color format: Choose the desired format (HEX #D3D3D3, RGB, or HSL).
- Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
- Pair with black text: Black text on Light Gray reaches 14.03:1 (WCAG AAA).
What Colors Go With Light Gray?
These 6 colors all go well with Light Gray (#D3D3D3), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Light Gray: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.
Harmonious Palettes & Tints
The palettes below are algorithmically generated across standard intervals based on Light Gray (HSL 0°). Each group offers full palette copy and live preview:
Complementary Harmony
Hue rotated 180 degrees on the HSL wheel (0° to 180°), keeping the original saturation and lightness.
Analogous Harmony
Hues 30 degrees either side (330° and 30°), keeping the original saturation and lightness.
Triadic Harmony
Hues spaced evenly by 120 degrees (120° and 240°), keeping the original saturation and lightness.
Tints & Shades
Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.
WCAG 2.2 Text Readability & Contrast Check
Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:
| Foreground Color | Contrast Ratio | Normal Text (AA) | Large Text (AA) | Normal Text AAA (>= 7.0:1) |
|---|---|---|---|---|
Pure Black (#000000) | 14.03:1 | Pass | Pass | Pass |
Pure White (#FFFFFF) | 1.50:1 | Fail | Fail | Fail |
Dark Charcoal (#212529) | 10.30:1 | Pass | Pass | Pass |
Mid Gray (#666666) | 3.84:1 | Fail | Pass | Fail |
Interactive Contrast Tester
Enter text foreground and background colors to verify WCAG legibility:
This is sample body text rendered directly to verify contrast and readability.
Light Gray Background Download
Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:
Standard Wallpaper: 1920x1080 PNG (#D3D3D3)Download Options
All wallpaper files precisely match the W3C standard color value:
CSS Standard & Usage Notes
lightgray = #d3d3d3 (rgb(211, 211, 211))
UI Design & Accessibility Guidelines
Use it for backgrounds, borders, dividers and disabled states. On Light Gray, black text passes WCAG AAA at every size (14.03:1); white text fails even for large text (1.5:1).
Frequently Asked Questions (FAQ)
Can I use black text on Light Gray?
Yes. Black text on Light Gray has a WCAG 2.2 contrast ratio of 14.03:1, passing both AA (4.5:1) and AAA (7:1) at every text size.
Can I use white text on Light Gray?
No. White text on Light Gray has a WCAG 2.2 contrast ratio of only 1.5:1, below the 3:1 minimum even for large text.
What colors go with Light Gray?
Black, Navy, Midnight Blue, Dark Slate Gray, Dim Gray and Teal all go well with Light Gray. Black (14.03:1), Navy (10.69:1), Midnight Blue (9.92:1) and Dark Slate Gray (5.96:1) have enough contrast for text on Light Gray; Dim Gray and Teal work better as a background or accent.
What is the difference between light gray and silver?
Light Gray (#D3D3D3) is lighter than Silver (#C0C0C0): its lightness is 83% against 75%.