#D8DFD7

A color in the Green family

#d8dfd7 is a color in the Green family: RGB(216, 223, 215), HSL(113°, 11%, 86%), CMYK(3%, 0%, 4%, 13%). Closest named color: gainsboro. Contrast is 1.36:1 on white and 15.46:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d8dfd7
RGBrgb(216 223 215)
RGB (legacy)rgb(216, 223, 215)
RGB %rgb(85% 87% 84%)
HSLhsl(113 11% 86%)
HSV / HSBhsv(113, 4%, 87%)
HWBhwb(113 84% 13%)
CMYKcmyk(3%, 0%, 4%, 13%)
CIELAB (D50)lab(88.11 -3.52 3.07)
LCHlch(88.11 4.67 138.94)
OKLaboklab(0.896 -0.0103 0.0081)
OKLCHoklch(0.896 0.0131 141.81)
Decimal14213079

Properties

Color ToneGreen
Closest named colorgainsboro ΔE 1.3
Closest web-safe color#cccccc
Hue113°
Saturation (HSL / HSV)11% / 4%
Lightness (HSL)86%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)86% / 87%
Relative luminance (WCAG)0.7228
Red / Green / Blue216 / 223 / 215

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.46: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.6 / -86 · As background with white / black text: Lc -20.1 / 86.1

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: #d8dfd7;
  --color-brand-oklch: oklch(89.6% 0.0131 141.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(216 223 215 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d8dfd7] text-[#d8dfd7] border-[#d8dfd7]">