#c9cd8a ≈ Dark Khaki
#c9cd8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.82% red, 80.39% green and 54.12% blue; printed in CMYK it uses 1.95% cyan, 0% magenta, 32.68% yellow and 19.61% black. Its hue angle is 63.58°, with 40.12% 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.58:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.42.
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.5792 |
Shades
#c9cd8a mixed progressively with black.
Tints
#c9cd8a mixed progressively with white.
Tones
#c9cd8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c9cd8a {
color: #c9cd8a;
}
.bg-c9cd8a {
background-color: #c9cd8a;
color: #000000;
}
.border-c9cd8a {
border: 2px solid #c9cd8a;
}
:root {
--color-primary: #c9cd8a;
--color-primary-rgb: 201 205 138;
--color-primary-hsl: 64 40% 67%;
}
.gradient-c9cd8a {
background: linear-gradient(135deg, #c9cd8a, #a7cd8a);
}
.shadow-c9cd8a {
box-shadow: 0 8px 24px rgb(201 205 138 / 0.35);
}
Dark Khaki
#c9cd8a rgb(201, 205, 138) hsl(64, 40%, 67%) Dark Khaki
#8e8acd rgb(142, 138, 205) hsl(244, 40%, 67%) Purple Mountain Majesty
#8ac9cd rgb(138, 201, 205) hsl(184, 40%, 67%) Powder Blue
#cd8ac9 rgb(205, 138, 201) hsl(304, 40%, 67%) Plum