#cdc87c ≈ Dark Khaki
#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.
| 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 luminance | 0.5574 |
Shades
#cdc87c mixed progressively with black.
Tints
#cdc87c mixed progressively with white.
Tones
#cdc87c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc87c {
color: #cdc87c;
}
.bg-cdc87c {
background-color: #cdc87c;
color: #000000;
}
.border-cdc87c {
border: 2px solid #cdc87c;
}
:root {
--color-primary: #cdc87c;
--color-primary-rgb: 205 200 124;
--color-primary-hsl: 56 45% 65%;
}
.gradient-cdc87c {
background: linear-gradient(135deg, #cdc87c, #a9cd7c);
}
.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