#c8ca7f ≈ Dark Khaki
#c8ca7f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.43% red, 79.22% green and 49.8% blue; printed in CMYK it uses 0.99% cyan, 0% magenta, 37.13% yellow and 20.78% black. Its hue angle is 61.6°, with 41.44% saturation and 64.51% 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.21:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.14.
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.5605 |
Shades
#c8ca7f mixed progressively with black.
Tints
#c8ca7f mixed progressively with white.
Tones
#c8ca7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8ca7f {
color: #c8ca7f;
}
.bg-c8ca7f {
background-color: #c8ca7f;
color: #000000;
}
.border-c8ca7f {
border: 2px solid #c8ca7f;
}
:root {
--color-primary: #c8ca7f;
--color-primary-rgb: 200 202 127;
--color-primary-hsl: 62 41% 65%;
}
.gradient-c8ca7f {
background: linear-gradient(135deg, #c8ca7f, #a3ca7f);
}
.shadow-c8ca7f {
box-shadow: 0 8px 24px rgb(200 202 127 / 0.35);
}
Dark Khaki
#c8ca7f rgb(200, 202, 127) hsl(62, 41%, 65%) Dark Khaki
#817fca rgb(129, 127, 202) hsl(242, 41%, 65%) Medium Purple
#7fc8ca rgb(127, 200, 202) hsl(182, 41%, 65%) Medium Turquoise
#ca7fc8 rgb(202, 127, 200) hsl(302, 41%, 65%) Orchid