#ccca7b ≈ Dark Khaki
#ccca7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80% red, 79.22% green and 48.24% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 39.71% yellow and 20% black. Its hue angle is 58.52°, with 44.26% saturation and 64.12% 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.3:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.86.
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.5651 |
Shades
#ccca7b mixed progressively with black.
Tints
#ccca7b mixed progressively with white.
Tones
#ccca7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccca7b {
color: #ccca7b;
}
.bg-ccca7b {
background-color: #ccca7b;
color: #000000;
}
.border-ccca7b {
border: 2px solid #ccca7b;
}
:root {
--color-primary: #ccca7b;
--color-primary-rgb: 204 202 123;
--color-primary-hsl: 59 44% 64%;
}
.gradient-ccca7b {
background: linear-gradient(135deg, #ccca7b, #a6cc7b);
}
.shadow-ccca7b {
box-shadow: 0 8px 24px rgb(204 202 123 / 0.35);
}
Dark Khaki
#ccca7b rgb(204, 202, 123) hsl(59, 44%, 64%) Dark Khaki
#7b7dcc rgb(123, 125, 204) hsl(239, 44%, 64%) Medium Purple
#7bccca rgb(123, 204, 202) hsl(179, 44%, 64%) Medium Turquoise
#ca7bcc rgb(202, 123, 204) hsl(299, 44%, 64%) Orchid