#D9C8A2

#d9c8a2 ≈ Wheat

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

#d9c8a2 is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 85.1% red, 78.43% green and 63.53% blue; printed in CMYK it uses 0% cyan, 7.83% magenta, 25.35% yellow and 14.9% black. Its hue angle is 41.45°, with 41.98% saturation and 74.31% 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 brand accents. Black text on this color reaches a contrast ratio of 12.73:1 (WCAG AAA). The closest named color is Wheat (#f5deb3), ΔE 5.75.

Description generated from the measured properties of this color.

Conversions of #d9c8a2 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.5867

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d0c9bb ≈ 0.001% of males
Protanopia #d1c7a0 ≈ 1.01% of males
Deuteranopia #d6cba3 ≈ 1.27% of males
Tritanopia #e2c2be ≈ 0.0001% of males
Protanomaly #d4c7a1 ≈ 1.08% of males
Deuteranomaly #d7caa3 ≈ 4.63% of males
Tritanomaly #dfc4b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d9c8a2 {
  color: #d9c8a2;
}
Background
.bg-d9c8a2 {
  background-color: #d9c8a2;
  color: #000000;
}
Border
.border-d9c8a2 {
  border: 2px solid #d9c8a2;
}
CSS variables
:root {
  --color-primary: #d9c8a2;
  --color-primary-rgb: 217 200 162;
  --color-primary-hsl: 41 42% 74%;
}
Gradient
.gradient-d9c8a2 {
  background: linear-gradient(135deg, #d9c8a2, #ced9a2);
}
Colored shadow
.shadow-d9c8a2 {
  box-shadow: 0 8px 24px rgb(217 200 162 / 0.35);
}

Wheat
#d9c8a2  rgb(217, 200, 162)  hsl(41, 42%, 74%)  Wheat
#a2b3d9  rgb(162, 179, 217)  hsl(221, 42%, 74%)  Wild Blue Yonder
#a2d9c8  rgb(162, 217, 200)  hsl(161, 42%, 74%)  Seafoam Green
#c8a2d9  rgb(200, 162, 217)  hsl(281, 42%, 74%)  Wisteria