#cccc7e ≈ Dark Khaki
#cccc7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80% red, 80% green and 49.41% blue; printed in CMYK it uses 0% cyan, 0% magenta, 38.24% yellow and 20% black. Its hue angle is 60°, with 43.33% 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.51:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.41.
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.5753 |
Shades
#cccc7e mixed progressively with black.
Tints
#cccc7e mixed progressively with white.
Tones
#cccc7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cccc7e {
color: #cccc7e;
}
.bg-cccc7e {
background-color: #cccc7e;
color: #000000;
}
.border-cccc7e {
border: 2px solid #cccc7e;
}
:root {
--color-primary: #cccc7e;
--color-primary-rgb: 204 204 126;
--color-primary-hsl: 60 43% 65%;
}
.gradient-cccc7e {
background: linear-gradient(135deg, #cccc7e, #a5cc7e);
}
.shadow-cccc7e {
box-shadow: 0 8px 24px rgb(204 204 126 / 0.35);
}
Dark Khaki
#cccc7e rgb(204, 204, 126) hsl(60, 43%, 65%) Dark Khaki
#7e7ecc rgb(126, 126, 204) hsl(240, 43%, 65%) Medium Purple
#7ecccc rgb(126, 204, 204) hsl(180, 43%, 65%) Medium Turquoise
#cc7ecc rgb(204, 126, 204) hsl(300, 43%, 65%) Orchid