#D2CB7F

#d2cb7f ≈ Dark Khaki

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

#d2cb7f 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 49.8% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 39.52% yellow and 17.65% black. Its hue angle is 54.94°, with 47.98% saturation and 66.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 brand accents. Black text on this color reaches a contrast ratio of 12.59:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.24.

Description generated from the measured properties of this color.

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

Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c8c8c8 ≈ 0.003% of males
Achromatomaly #ccc9b0 ≈ 0.001% of males
Protanopia #d8c679 ≈ 1.01% of males
Deuteranopia #daca82 ≈ 1.27% of males
Tritanopia #ddc2b8 ≈ 0.0001% of males
Protanomaly #d5c87c ≈ 1.08% of males
Deuteranomaly #d7cb81 ≈ 4.63% of males
Tritanomaly #d9c5a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#d2cb7f  rgb(210, 203, 127)  hsl(55, 48%, 66%)  Dark Khaki
#7f86d2  rgb(127, 134, 210)  hsl(235, 48%, 66%)  Glaucous
#7fd2cb  rgb(127, 210, 203)  hsl(175, 48%, 66%)  Medium Turquoise
#cb7fd2  rgb(203, 127, 210)  hsl(295, 48%, 66%)  Orchid