Color specimenNo. 13948116

#D4D4D4

Light Gray

A deterministic reference card for #D4D4D4. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.

RGB
212, 212, 212
HSL
0°, 0%, 83%
Text
Black on top

Tailwind CSS · neutral

tailwind · neutral 300

The Tailwind CSS utility classes bg-neutral-300, text-neutral-300, and friends all reference this hex value.

Scale context · neutral

Click any step to jump to its landing page.

Class name
neutral-300
Hex
#D4D4D4
Closest CSS named color
lightgray
Full color breakdown
/color/d4d4d4

Developer snippets

Copy-ready code

Every snippet below is generated from the hex — not a hand-maintained table.

Conversions

Same color, seven encodings

Nearest matches

Closest in other design systems

Accessibility

Contrast against white & black

On white

The quick brown fox

Jumps over the lazy dog. Testing readability of #D4D4D4 as the text color.

1.48:1
AA failAAA failLarge fail

Rating · Fail

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #D4D4D4 as the text color.

14.17:1
AA passAAA passLarge pass

Rating · AAA

Recommendation

When using #D4D4D4 as a background, pair it with #000000 text for the best WCAG contrast.

Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.

Related Tailwind swatches

Other stops in neutral