#D8D8CC#D8D8CC
#D8D8CC is a very light, near-neutral yellow. Relative luminance 0.681; OKLCH L 87.9% C 0.016 H 106.7°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D8D8CC |
|---|---|
| RGB | rgb(216, 216, 204) |
| HSL | hsl(60, 13%, 82%) |
| HSV | hsv(60, 6%, 85%) |
| CMYK | cmyk(0%, 0%, 5.6%, 15.3%) |
| CIE-LAB | lab(86.04, -2.11, 5.91) |
| CIE-LCH | lch(86.04, 6.28, 109.64°) |
| OKLab | oklab(87.89% -0.0047 0.0155) |
| OKLCH | oklch(87.89% 0.016 106.7) |
| XYZ | xyz(63.7723, 68.0705, 66.8943) |
| Luminance | 0.6807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Grey
#D8DCD6
ΔE00 3.10
Eggshell
#F0EAD6
ΔE00 5.53
Light Gray
#D3D3D3
ΔE00 5.91
Gainsboro
#DCDCDC
ΔE00 5.93
Silver (survey)
#C5C9C7
ΔE00 5.93
Warm Beige
#E9DCC9
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8D8CC #CCCCD8
analogous
#D8D2CC #D8D8CC #D2D8CC
triadic
#D8D8CC #CCD8D8 #D8CCD8
tetradic
#D8D8CC #CCD8D2 #CCCCD8 #D8CCD2
square
#D8D8CC #CCD8D2 #CCCCD8 #D8CCD2
split-complementary
#D8D8CC #CCD2D8 #D2CCD8
monochromatic
#A3A387 #BDBDA9 #D8D8CC #F2F2EE #F2F2EE
Accessibility & contrast
On white
1.44
#D8D8CC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.61
#D8D8CC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8D8CC
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8D8CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8D8CC | 1.00 | 1.44 | 14.61 | 14.61 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAD7CB
Deuteranopia (green-blind)
#DBD7CC
Tritanopia (blue-blind)
#DAD6D4
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #d8d8cc; /* rgb */ color: rgb(216, 216, 204); /* oklch */ color: oklch(87.9% 0.016 106.7);
Tailwind
colors: {
custom: {
50: '#e4e4db',
500: '#d8d8cc',
950: '#000000',
},
}SCSS
$custom: #d8d8cc; $custom-light: #e4e4db; $custom-dark: #000000;
JSON
{
"hex": "#d8d8cc",
"rgb": {
"r": 216,
"g": 216,
"b": 204
},
"hsl": {
"h": 60,
"s": 13.333,
"l": 82.353
},
"oklch": {
"l": 0.87891,
"c": 0.01619,
"h": 106.7
},
"luminance": 0.6807
}Semantic roles & 50–950 ramp
primary
#D8D8CC
secondary
#9C9CAD
accent
#4E974E
background
#FEFEFE
surface
#FCFCFB
border
#D5D5D4
text
#151515
muted
#848484