#D2CB87

#d2cb87 ≈ Dark Khaki

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

#d2cb87 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 79.61% green and 52.94% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 35.71% yellow and 17.65% black. Its hue angle is 54.4°, with 45.45% saturation and 67.65% 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.63:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.58.

Description generated from the measured properties of this color.

Conversions of #d2cb87 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.5816

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #cccab2 ≈ 0.001% of males
Protanopia #d7c682 ≈ 1.01% of males
Deuteranopia #d9ca8a ≈ 1.27% of males
Tritanopia #ddc2ba ≈ 0.0001% of males
Protanomaly #d5c884 ≈ 1.08% of males
Deuteranomaly #d6cb89 ≈ 4.63% of males
Tritanomaly #d8c6a8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#d2cb87  rgb(210, 203, 135)  hsl(54, 45%, 68%)  Dark Khaki
#878ed2  rgb(135, 142, 210)  hsl(234, 45%, 68%)  Glaucous
#87d2cb  rgb(135, 210, 203)  hsl(174, 45%, 68%)  Medium Turquoise
#cb87d2  rgb(203, 135, 210)  hsl(294, 45%, 68%)  Orchid