#cdc97a ≈ Dark Khaki
#cdc97a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 78.82% green and 47.84% blue; printed in CMYK it uses 0% cyan, 1.95% magenta, 40.49% yellow and 19.61% black. Its hue angle is 57.11°, with 45.36% saturation and 64.12% 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.23:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.61.
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.5616 |
Shades
#cdc97a mixed progressively with black.
Tints
#cdc97a mixed progressively with white.
Tones
#cdc97a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc97a {
color: #cdc97a;
}
.bg-cdc97a {
background-color: #cdc97a;
color: #000000;
}
.border-cdc97a {
border: 2px solid #cdc97a;
}
:root {
--color-primary: #cdc97a;
--color-primary-rgb: 205 201 122;
--color-primary-hsl: 57 45% 64%;
}
.gradient-cdc97a {
background: linear-gradient(135deg, #cdc97a, #a8cd7a);
}
.shadow-cdc97a {
box-shadow: 0 8px 24px rgb(205 201 122 / 0.35);
}
Dark Khaki
#cdc97a rgb(205, 201, 122) hsl(57, 45%, 64%) Dark Khaki
#7a7ecd rgb(122, 126, 205) hsl(237, 45%, 64%) Glaucous
#7acdc9 rgb(122, 205, 201) hsl(177, 45%, 64%) Medium Turquoise
#c97acd rgb(201, 122, 205) hsl(297, 45%, 64%) Orchid