#D9DFD9

A color in the Black, Gray, White family

#d9dfd9 is a color in the Black, Gray, White family: RGB(217, 223, 217), HSL(120°, 9%, 86%), CMYK(3%, 0%, 3%, 13%). Closest named color: gainsboro. Contrast is 1.35:1 on white and 15.51:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d9dfd9
RGBrgb(217 223 217)
RGB (legacy)rgb(217, 223, 217)
RGB %rgb(85% 87% 85%)
HSLhsl(120 9% 86%)
HSV / HSBhsv(120, 3%, 87%)
HWBhwb(120 85% 13%)
CMYKcmyk(3%, 0%, 3%, 13%)
CIELAB (D50)lab(88.23 -2.9 2.21)
LCHlch(88.23 3.65 142.79)
OKLaboklab(0.8974 -0.0085 0.0059)
OKLCHoklch(0.8974 0.0103 145.49)
Decimal14278617

Properties

Color ToneBlack, Gray, White
Closest named colorgainsboro ΔE 1.1
Closest web-safe color#cccccc
Hue120°
Saturation (HSL / HSV)9% / 3%
Lightness (HSL)86%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)86% / 87%
Relative luminance (WCAG)0.7254
Red / Green / Blue217 / 223 / 217

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 17.4 / -86.2 · As background with white / black text: Lc -19.9 / 86.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #d9dfd9;
  --color-brand-oklch: oklch(89.74% 0.0103 145.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(217 223 217 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d9dfd9] text-[#d9dfd9] border-[#d9dfd9]">