#CDC87C

#cdc87c ≈ Dark Khaki

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

#cdc87c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 78.43% green and 48.63% blue; printed in CMYK it uses 0% cyan, 2.44% magenta, 39.51% yellow and 19.61% black. Its hue angle is 56.3°, with 44.75% saturation and 64.51% 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.15:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #cdc87c 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.5574

Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #c8c6ac ≈ 0.001% of males
Protanopia #d4c376 ≈ 1.01% of males
Deuteranopia #d6c77f ≈ 1.27% of males
Tritanopia #d8bfb5 ≈ 0.0001% of males
Protanomaly #d1c579 ≈ 1.08% of males
Deuteranomaly #d3c77e ≈ 4.63% of males
Tritanomaly #d4c3a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc87c {
  color: #cdc87c;
}
Background
.bg-cdc87c {
  background-color: #cdc87c;
  color: #000000;
}
Border
.border-cdc87c {
  border: 2px solid #cdc87c;
}
CSS variables
:root {
  --color-primary: #cdc87c;
  --color-primary-rgb: 205 200 124;
  --color-primary-hsl: 56 45% 65%;
}
Gradient
.gradient-cdc87c {
  background: linear-gradient(135deg, #cdc87c, #a9cd7c);
}
Colored shadow
.shadow-cdc87c {
  box-shadow: 0 8px 24px rgb(205 200 124 / 0.35);
}

Dark Khaki
#cdc87c  rgb(205, 200, 124)  hsl(56, 45%, 65%)  Dark Khaki
#7c81cd  rgb(124, 129, 205)  hsl(236, 45%, 65%)  Glaucous
#7ccdc8  rgb(124, 205, 200)  hsl(176, 45%, 65%)  Medium Turquoise
#c87ccd  rgb(200, 124, 205)  hsl(296, 45%, 65%)  Orchid