#cdcd8a ≈ Dark Khaki
#cdcd8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 80.39% green and 54.12% blue; printed in CMYK it uses 0% cyan, 0% magenta, 32.68% yellow and 19.61% black. Its hue angle is 60°, 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.7:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.12.
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.5848 |
Shades
#cdcd8a mixed progressively with black.
Tints
#cdcd8a mixed progressively with white.
Tones
#cdcd8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd8a {
color: #cdcd8a;
}
.bg-cdcd8a {
background-color: #cdcd8a;
color: #000000;
}
.border-cdcd8a {
border: 2px solid #cdcd8a;
}
:root {
--color-primary: #cdcd8a;
--color-primary-rgb: 205 205 138;
--color-primary-hsl: 60 40% 67%;
}
.gradient-cdcd8a {
background: linear-gradient(135deg, #cdcd8a, #abcd8a);
}
.shadow-cdcd8a {
box-shadow: 0 8px 24px rgb(205 205 138 / 0.35);
}
Dark Khaki
#cdcd8a rgb(205, 205, 138) hsl(60, 40%, 67%) Dark Khaki
#8a8acd rgb(138, 138, 205) hsl(240, 40%, 67%) Purple Mountain Majesty
#8acdcd rgb(138, 205, 205) hsl(180, 40%, 67%) Powder Blue
#cd8acd rgb(205, 138, 205) hsl(300, 40%, 67%) Plum