#cdcb8a ≈ Dark Khaki
#cdcb8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 79.61% green and 54.12% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 32.68% yellow and 19.61% black. Its hue angle is 58.21°, with 40.12% saturation and 67.25% 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.51:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.76.
Description generated from the measured properties of this color.
| 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 luminance | 0.5753 |
Shades
#cdcb8a mixed progressively with black.
Tints
#cdcb8a mixed progressively with white.
Tones
#cdcb8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcb8a {
color: #cdcb8a;
}
.bg-cdcb8a {
background-color: #cdcb8a;
color: #000000;
}
.border-cdcb8a {
border: 2px solid #cdcb8a;
}
:root {
--color-primary: #cdcb8a;
--color-primary-rgb: 205 203 138;
--color-primary-hsl: 58 40% 67%;
}
.gradient-cdcb8a {
background: linear-gradient(135deg, #cdcb8a, #adcd8a);
}
.shadow-cdcb8a {
box-shadow: 0 8px 24px rgb(205 203 138 / 0.35);
}
Dark Khaki
#cdcb8a rgb(205, 203, 138) hsl(58, 40%, 67%) Dark Khaki
#8a8ccd rgb(138, 140, 205) hsl(238, 40%, 67%) Cool Gray
#8acdcb rgb(138, 205, 203) hsl(178, 40%, 67%) Medium Turquoise
#cb8acd rgb(203, 138, 205) hsl(298, 40%, 67%) Plum