#D2CC8D

#d2cc8d ≈ Dark Khaki

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#d2cc8d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80% green and 55.29% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 32.86% yellow and 17.65% black. Its hue angle is 54.78°, with 43.4% saturation and 68.82% 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.76:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.19.

Description generated from the measured properties of this color.

Conversions of #d2cc8d 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.5881

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cdcbb5 ≈ 0.001% of males
Protanopia #d7c889 ≈ 1.01% of males
Deuteranopia #d9cb8f ≈ 1.27% of males
Tritanopia #dcc4bc ≈ 0.0001% of males
Protanomaly #d5c98a ≈ 1.08% of males
Deuteranomaly #d6cc8e ≈ 4.63% of males
Tritanomaly #d8c7ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cc8d {
  color: #d2cc8d;
}
Background
.bg-d2cc8d {
  background-color: #d2cc8d;
  color: #000000;
}
Border
.border-d2cc8d {
  border: 2px solid #d2cc8d;
}
CSS variables
:root {
  --color-primary: #d2cc8d;
  --color-primary-rgb: 210 204 141;
  --color-primary-hsl: 55 43% 69%;
}
Gradient
.gradient-d2cc8d {
  background: linear-gradient(135deg, #d2cc8d, #b5d28d);
}
Colored shadow
.shadow-d2cc8d {
  box-shadow: 0 8px 24px rgb(210 204 141 / 0.35);
}

Dark Khaki
#d2cc8d  rgb(210, 204, 141)  hsl(55, 43%, 69%)  Dark Khaki
#8d93d2  rgb(141, 147, 210)  hsl(235, 43%, 69%)  Wild Blue Yonder
#8dd2cc  rgb(141, 210, 204)  hsl(175, 43%, 69%)  Medium Turquoise
#cc8dd2  rgb(204, 141, 210)  hsl(295, 43%, 69%)  Plum