#D4D4D4 — Tints, Shades & Color Values

#D4D4D4

#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.

Want to fine-tune this color interactively? Open #D4D4D4 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#D4D4D4
RGBrgb(212, 212, 212)
HSLhsl(0, 0%, 83%)
HSV / HSB0°, 0%, 83%
Nearest namedlightgray (#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.

Shades of #D4D4D4 (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

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

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #D4D4D4? Put it on a free link-in-bio page →