#c9c87f ≈ Dark Khaki
#c9c87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.82% red, 78.43% green and 49.8% blue; printed in CMYK it uses 0% cyan, 0.5% magenta, 36.82% yellow and 21.18% black. Its hue angle is 59.19°, with 40.66% saturation and 64.31% 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.05:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.55.
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.5526 |
Shades
#c9c87f mixed progressively with black.
Tints
#c9c87f mixed progressively with white.
Tones
#c9c87f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c9c87f {
color: #c9c87f;
}
.bg-c9c87f {
background-color: #c9c87f;
color: #000000;
}
.border-c9c87f {
border: 2px solid #c9c87f;
}
:root {
--color-primary: #c9c87f;
--color-primary-rgb: 201 200 127;
--color-primary-hsl: 59 41% 64%;
}
.gradient-c9c87f {
background: linear-gradient(135deg, #c9c87f, #a5c97f);
}
.shadow-c9c87f {
box-shadow: 0 8px 24px rgb(201 200 127 / 0.35);
}
Dark Khaki
#c9c87f rgb(201, 200, 127) hsl(59, 41%, 64%) Dark Khaki
#7f80c9 rgb(127, 128, 201) hsl(239, 41%, 64%) Medium Purple
#7fc9c8 rgb(127, 201, 200) hsl(179, 41%, 64%) Medium Turquoise
#c87fc9 rgb(200, 127, 201) hsl(299, 41%, 64%) Orchid