#DCD2A8

#dcd2a8 ≈ Vanilla

  • yellow
  • Lightness: high
  • Saturation: muted
  • Warm

#dcd2a8 is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 86.27% red, 82.35% green and 65.88% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 23.64% yellow and 13.73% black. Its hue angle is 48.46°, with 42.62% saturation and 76.08% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and soft pastel palettes. Black text on this color reaches a contrast ratio of 13.83:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 5.68.

Description generated from the measured properties of this color.

Conversions of #dcd2a8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6414

Readable text 1.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d6d2c2 ≈ 0.001% of males
Protanopia #dbd0a5 ≈ 1.01% of males
Deuteranopia #ded3a9 ≈ 1.27% of males
Tritanopia #e4ccc7 ≈ 0.0001% of males
Protanomaly #dbd1a6 ≈ 1.08% of males
Deuteranomaly #ddd3a9 ≈ 4.63% of males
Tritanomaly #e1cebb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd2a8 {
  color: #dcd2a8;
}
Background
.bg-dcd2a8 {
  background-color: #dcd2a8;
  color: #000000;
}
Border
.border-dcd2a8 {
  border: 2px solid #dcd2a8;
}
CSS variables
:root {
  --color-primary: #dcd2a8;
  --color-primary-rgb: 220 210 168;
  --color-primary-hsl: 48 43% 76%;
}
Gradient
.gradient-dcd2a8 {
  background: linear-gradient(135deg, #dcd2a8, #ccdca8);
}
Colored shadow
.shadow-dcd2a8 {
  box-shadow: 0 8px 24px rgb(220 210 168 / 0.35);
}

Vanilla
#dcd2a8  rgb(220, 210, 168)  hsl(48, 43%, 76%)  Vanilla
#a8b2dc  rgb(168, 178, 220)  hsl(228, 43%, 76%)  Wild Blue Yonder
#a8dcd2  rgb(168, 220, 210)  hsl(168, 43%, 76%)  Pale Turquoise
#d2a8dc  rgb(210, 168, 220)  hsl(288, 43%, 76%)  Wisteria