#D2CD81

#d2cd81 ≈ Dark Khaki

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

#d2cd81 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 50.59% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 38.57% yellow and 17.65% black. Its hue angle is 56.3°, with 47.37% saturation and 66.47% 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.79:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.64.

Description generated from the measured properties of this color.

Conversions of #d2cd81 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.5895

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #cdcbb1 ≈ 0.001% of males
Protanopia #d9c87b ≈ 1.01% of males
Deuteranopia #dccc84 ≈ 1.27% of males
Tritanopia #ddc4ba ≈ 0.0001% of males
Protanomaly #d6ca7e ≈ 1.08% of males
Deuteranomaly #d8cc83 ≈ 4.63% of males
Tritanomaly #d9c7a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#d2cd81  rgb(210, 205, 129)  hsl(56, 47%, 66%)  Dark Khaki
#8186d2  rgb(129, 134, 210)  hsl(236, 47%, 66%)  Glaucous
#81d2cd  rgb(129, 210, 205)  hsl(176, 47%, 66%)  Medium Turquoise
#cd81d2  rgb(205, 129, 210)  hsl(296, 47%, 66%)  Orchid