#cacc8b ≈ Dark Khaki
#cacc8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 79.22% red, 80% green and 54.51% blue; printed in CMYK it uses 0.98% cyan, 0% magenta, 31.86% yellow and 20% black. Its hue angle is 61.85°, with 38.92% saturation and 67.25% 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.52:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.2.
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.5761 |
Shades
#cacc8b mixed progressively with black.
Tints
#cacc8b mixed progressively with white.
Tones
#cacc8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cacc8b {
color: #cacc8b;
}
.bg-cacc8b {
background-color: #cacc8b;
color: #000000;
}
.border-cacc8b {
border: 2px solid #cacc8b;
}
:root {
--color-primary: #cacc8b;
--color-primary-rgb: 202 204 139;
--color-primary-hsl: 62 39% 67%;
}
.gradient-cacc8b {
background: linear-gradient(135deg, #cacc8b, #a9cc8b);
}
.shadow-cacc8b {
box-shadow: 0 8px 24px rgb(202 204 139 / 0.35);
}
Dark Khaki
#cacc8b rgb(202, 204, 139) hsl(62, 39%, 67%) Dark Khaki
#8d8bcc rgb(141, 139, 204) hsl(242, 39%, 67%) Purple Mountain Majesty
#8bcacc rgb(139, 202, 204) hsl(182, 39%, 67%) Powder Blue
#cc8bca rgb(204, 139, 202) hsl(302, 39%, 67%) Plum