#D2C87A

#d2c87a ≈ Dark Khaki

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

#d2c87a 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.43% green and 47.84% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 41.9% yellow and 17.65% black. Its hue angle is 53.18°, with 49.44% saturation and 65.1% 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.28:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #d2c87a 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.5642

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #cbc7ad ≈ 0.001% of males
Protanopia #d5c374 ≈ 1.01% of males
Deuteranopia #d8c87d ≈ 1.27% of males
Tritanopia #debeb5 ≈ 0.0001% of males
Protanomaly #d4c576 ≈ 1.08% of males
Deuteranomaly #d6c87c ≈ 4.63% of males
Tritanomaly #d9c2a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c87a {
  color: #d2c87a;
}
Background
.bg-d2c87a {
  background-color: #d2c87a;
  color: #000000;
}
Border
.border-d2c87a {
  border: 2px solid #d2c87a;
}
CSS variables
:root {
  --color-primary: #d2c87a;
  --color-primary-rgb: 210 200 122;
  --color-primary-hsl: 53 49% 65%;
}
Gradient
.gradient-d2c87a {
  background: linear-gradient(135deg, #d2c87a, #b0d27a);
}
Colored shadow
.shadow-d2c87a {
  box-shadow: 0 8px 24px rgb(210 200 122 / 0.35);
}

Dark Khaki
#d2c87a  rgb(210, 200, 122)  hsl(53, 49%, 65%)  Dark Khaki
#7a84d2  rgb(122, 132, 210)  hsl(233, 49%, 65%)  Glaucous
#7ad2c8  rgb(122, 210, 200)  hsl(173, 49%, 65%)  Medium Turquoise
#c87ad2  rgb(200, 122, 210)  hsl(293, 49%, 65%)  Orchid