#D2CD8B

#d2cd8b ≈ Dark Khaki

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

#d2cd8b 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.39% green and 54.51% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 33.81% yellow and 17.65% black. Its hue angle is 55.77°, with 44.1% saturation and 68.43% 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.85:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.12.

Description generated from the measured properties of this color.

Conversions of #d2cd8b 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.5923

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cdcbb4 ≈ 0.001% of males
Protanopia #d8c886 ≈ 1.01% of males
Deuteranopia #dacc8e ≈ 1.27% of males
Tritanopia #dcc5bc ≈ 0.0001% of males
Protanomaly #d6ca88 ≈ 1.08% of males
Deuteranomaly #d7cc8d ≈ 4.63% of males
Tritanomaly #d8c8ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2cd8b {
  color: #d2cd8b;
}
Background
.bg-d2cd8b {
  background-color: #d2cd8b;
  color: #000000;
}
Border
.border-d2cd8b {
  border: 2px solid #d2cd8b;
}
CSS variables
:root {
  --color-primary: #d2cd8b;
  --color-primary-rgb: 210 205 139;
  --color-primary-hsl: 56 44% 68%;
}
Gradient
.gradient-d2cd8b {
  background: linear-gradient(135deg, #d2cd8b, #b4d28b);
}
Colored shadow
.shadow-d2cd8b {
  box-shadow: 0 8px 24px rgb(210 205 139 / 0.35);
}

Dark Khaki
#d2cd8b  rgb(210, 205, 139)  hsl(56, 44%, 68%)  Dark Khaki
#8b90d2  rgb(139, 144, 210)  hsl(236, 44%, 68%)  Cool Gray
#8bd2cd  rgb(139, 210, 205)  hsl(176, 44%, 68%)  Medium Turquoise
#cd8bd2  rgb(205, 139, 210)  hsl(296, 44%, 68%)  Plum