#D2C986

#d2c986 ≈ Dark Khaki

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

#d2c986 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 78.82% green and 52.55% blue; printed in CMYK it uses 0% cyan, 4.29% magenta, 36.19% yellow and 17.65% black. Its hue angle is 52.89°, with 45.78% saturation and 67.45% 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.44:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.33.

Description generated from the measured properties of this color.

Conversions of #d2c986 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.572

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #ccc8b1 ≈ 0.001% of males
Protanopia #d5c581 ≈ 1.01% of males
Deuteranopia #d8c989 ≈ 1.27% of males
Tritanopia #ddc0b8 ≈ 0.0001% of males
Protanomaly #d4c683 ≈ 1.08% of males
Deuteranomaly #d5c988 ≈ 4.63% of males
Tritanomaly #d9c4a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c986 {
  color: #d2c986;
}
Background
.bg-d2c986 {
  background-color: #d2c986;
  color: #000000;
}
Border
.border-d2c986 {
  border: 2px solid #d2c986;
}
CSS variables
:root {
  --color-primary: #d2c986;
  --color-primary-rgb: 210 201 134;
  --color-primary-hsl: 53 46% 67%;
}
Gradient
.gradient-d2c986 {
  background: linear-gradient(135deg, #d2c986, #b5d286);
}
Colored shadow
.shadow-d2c986 {
  box-shadow: 0 8px 24px rgb(210 201 134 / 0.35);
}

Dark Khaki
#d2c986  rgb(210, 201, 134)  hsl(53, 46%, 67%)  Dark Khaki
#868fd2  rgb(134, 143, 210)  hsl(233, 46%, 67%)  Glaucous
#86d2c9  rgb(134, 210, 201)  hsl(173, 46%, 67%)  Medium Turquoise
#c986d2  rgb(201, 134, 210)  hsl(293, 46%, 67%)  Orchid