#cdcf8a ≈ Dark Khaki
#cdcf8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 81.18% green and 54.12% blue; printed in CMYK it uses 0.97% cyan, 0% magenta, 33.33% yellow and 18.82% black. Its hue angle is 61.74°, with 41.82% saturation and 67.65% 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.89:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.54.
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.5944 |
Shades
#cdcf8a mixed progressively with black.
Tints
#cdcf8a mixed progressively with white.
Tones
#cdcf8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcf8a {
color: #cdcf8a;
}
.bg-cdcf8a {
background-color: #cdcf8a;
color: #000000;
}
.border-cdcf8a {
border: 2px solid #cdcf8a;
}
:root {
--color-primary: #cdcf8a;
--color-primary-rgb: 205 207 138;
--color-primary-hsl: 62 42% 68%;
}
.gradient-cdcf8a {
background: linear-gradient(135deg, #cdcf8a, #abcf8a);
}
.shadow-cdcf8a {
box-shadow: 0 8px 24px rgb(205 207 138 / 0.35);
}
Dark Khaki
#cdcf8a rgb(205, 207, 138) hsl(62, 42%, 68%) Dark Khaki
#8c8acf rgb(140, 138, 207) hsl(242, 42%, 68%) Purple Mountain Majesty
#8acdcf rgb(138, 205, 207) hsl(182, 42%, 68%) Powder Blue
#cf8acd rgb(207, 138, 205) hsl(302, 42%, 68%) Plum