#D4D4D4 — Tints, Shades & Color Values
#D4D4D4 is a light, nearly neutral gray. In Tailwind CSS this exact color is the utility class neutral-300 (e.g. bg-neutral-300, text-neutral-300). Its nearest CSS named color is lightgray (#d3d3d3). For readable text on a #D4D4D4 background, black text gives the strongest contrast (14.17:1). Because it is so light, #D4D4D4 works best as a background or surface color paired with dark text, or as a high-percentage tint in an existing palette.
Color Values
| Hex | #D4D4D4 |
|---|---|
| RGB | rgb(212, 212, 212) |
| HSL | hsl(0, 0%, 83%) |
| HSV / HSB | 0°, 0%, 83% |
| Nearest named | lightgray (#d3d3d3) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#D4D4D4 in Tailwind CSS (neutral-300)
#D4D4D4 ships with Tailwind CSS as neutral-300 — use it as bg-neutral-300, text-neutral-300, or border-neutral-300. It sits at step 300 of the neutral ramp; every other step links to its own page:
Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.
Tints of #D4D4D4 (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#d8d8d8 -
20% tint
#dddddd -
30% tint
#e1e1e1 -
40% tint
#e5e5e5 -
50% tint
#eaeaea -
60% tint
#eeeeee -
70% tint
#f2f2f2 -
80% tint
#f6f6f6 -
90% tint
#fbfbfb
Shades of #D4D4D4 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#bfbfbf -
20% shade
#aaaaaa -
30% shade
#949494 -
40% shade
#7f7f7f -
50% shade
#6a6a6a -
60% shade
#555555 -
70% shade
#404040 -
80% shade
#2a2a2a -
90% shade
#151515
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #D4D4D4 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 1.48:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
|---|---|
| Black text 14.17:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
If neither pure white nor pure black reaches the level you need, pick a darker shade of #D4D4D4 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More gray colors in the library: #D6D3D1 (stone-300), #D4D4D8 (zinc-300), #A1A1AA (zinc-400), #A8A29E (stone-400), #71717A (zinc-500), #78716C (stone-500).
Frequently Asked Questions
-
What color is #D4D4D4?
#D4D4D4 is a light, nearly neutral gray —
rgb(212, 212, 212). Its nearest CSS named color islightgray. In Tailwind CSS it isneutral-300. -
How do I make tints and shades of #D4D4D4?
Mix #D4D4D4 with white for tints and with black for shades. A 20% tint of #D4D4D4 is
#ddddddand a 20% shade is#aaaaaa— the full 10%–90% ramps are precomputed on this page, or open #D4D4D4 in the generator for finer steps. -
What text color is readable on #D4D4D4?
Black text gives the strongest contrast on a #D4D4D4 background at 14.17:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #D4D4D4?
neutral-300— use it asbg-neutral-300,text-neutral-300, orborder-neutral-300. The full neutral 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#D4D4D4? Put it on a free link-in-bio page →