#c8ca6b ≈ Dark Khaki
#c8ca6b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 78.43% red, 79.22% green and 41.96% blue; printed in CMYK it uses 0.99% cyan, 0% magenta, 47.03% yellow and 20.78% black. Its hue angle is 61.26°, with 47.26% saturation and 60.59% 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.12:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.59.
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.5558 |
Shades
#c8ca6b mixed progressively with black.
Tints
#c8ca6b mixed progressively with white.
Tones
#c8ca6b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8ca6b {
color: #c8ca6b;
}
.bg-c8ca6b {
background-color: #c8ca6b;
color: #000000;
}
.border-c8ca6b {
border: 2px solid #c8ca6b;
}
:root {
--color-primary: #c8ca6b;
--color-primary-rgb: 200 202 107;
--color-primary-hsl: 61 47% 61%;
}
.gradient-c8ca6b {
background: linear-gradient(135deg, #c8ca6b, #99ca6b);
}
.shadow-c8ca6b {
box-shadow: 0 8px 24px rgb(200 202 107 / 0.35);
}
Dark Khaki
#c8ca6b rgb(200, 202, 107) hsl(61, 47%, 61%) Dark Khaki
#6d6bca rgb(109, 107, 202) hsl(241, 47%, 61%) Slate Blue
#6bc8ca rgb(107, 200, 202) hsl(181, 47%, 61%) Medium Turquoise
#ca6bc8 rgb(202, 107, 200) hsl(301, 47%, 61%) Orchid