#cfcc7b ≈ Dark Khaki
#cfcc7b 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% green and 48.24% blue; printed in CMYK it uses 0% cyan, 1.45% magenta, 40.58% yellow and 18.82% black. Its hue angle is 57.86°, with 46.67% saturation and 64.71% 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.58:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.34.
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.5788 |
Shades
#cfcc7b mixed progressively with black.
Tints
#cfcc7b mixed progressively with white.
Tones
#cfcc7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcc7b {
color: #cfcc7b;
}
.bg-cfcc7b {
background-color: #cfcc7b;
color: #000000;
}
.border-cfcc7b {
border: 2px solid #cfcc7b;
}
:root {
--color-primary: #cfcc7b;
--color-primary-rgb: 207 204 123;
--color-primary-hsl: 58 47% 65%;
}
.gradient-cfcc7b {
background: linear-gradient(135deg, #cfcc7b, #a8cf7b);
}
.shadow-cfcc7b {
box-shadow: 0 8px 24px rgb(207 204 123 / 0.35);
}
Dark Khaki
#cfcc7b rgb(207, 204, 123) hsl(58, 47%, 65%) Dark Khaki
#7b7ecf rgb(123, 126, 207) hsl(238, 47%, 65%) Glaucous
#7bcfcc rgb(123, 207, 204) hsl(178, 47%, 65%) Medium Turquoise
#cc7bcf rgb(204, 123, 207) hsl(298, 47%, 65%) Orchid