#cec97d ≈ Dark Khaki
#cec97d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.78% red, 78.82% green and 49.02% blue; printed in CMYK it uses 0% cyan, 2.43% magenta, 39.32% yellow and 19.22% black. Its hue angle is 56.3°, with 45.25% saturation and 64.9% 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.28:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.65.
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.5638 |
Shades
#cec97d mixed progressively with black.
Tints
#cec97d mixed progressively with white.
Tones
#cec97d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec97d {
color: #cec97d;
}
.bg-cec97d {
background-color: #cec97d;
color: #000000;
}
.border-cec97d {
border: 2px solid #cec97d;
}
:root {
--color-primary: #cec97d;
--color-primary-rgb: 206 201 125;
--color-primary-hsl: 56 45% 65%;
}
.gradient-cec97d {
background: linear-gradient(135deg, #cec97d, #aace7d);
}
.shadow-cec97d {
box-shadow: 0 8px 24px rgb(206 201 125 / 0.35);
}
Dark Khaki
#cec97d rgb(206, 201, 125) hsl(56, 45%, 65%) Dark Khaki
#7d82ce rgb(125, 130, 206) hsl(236, 45%, 65%) Glaucous
#7dcec9 rgb(125, 206, 201) hsl(176, 45%, 65%) Medium Turquoise
#c97dce rgb(201, 125, 206) hsl(296, 45%, 65%) Orchid