#cfcd8a ≈ Dark Khaki
#cfcd8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 80.39% green and 54.12% blue; printed in CMYK it uses 0% cyan, 0.97% magenta, 33.33% yellow and 18.82% black. Its hue angle is 58.26°, 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.75:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.05.
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.5876 |
Shades
#cfcd8a mixed progressively with black.
Tints
#cfcd8a mixed progressively with white.
Tones
#cfcd8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcd8a {
color: #cfcd8a;
}
.bg-cfcd8a {
background-color: #cfcd8a;
color: #000000;
}
.border-cfcd8a {
border: 2px solid #cfcd8a;
}
:root {
--color-primary: #cfcd8a;
--color-primary-rgb: 207 205 138;
--color-primary-hsl: 58 42% 68%;
}
.gradient-cfcd8a {
background: linear-gradient(135deg, #cfcd8a, #afcf8a);
}
.shadow-cfcd8a {
box-shadow: 0 8px 24px rgb(207 205 138 / 0.35);
}
Dark Khaki
#cfcd8a rgb(207, 205, 138) hsl(58, 42%, 68%) Dark Khaki
#8a8ccf rgb(138, 140, 207) hsl(238, 42%, 68%) Cool Gray
#8acfcd rgb(138, 207, 205) hsl(178, 42%, 68%) Medium Turquoise
#cd8acf rgb(205, 138, 207) hsl(298, 42%, 68%) Plum