#cdc781 ≈ Dark Khaki
#cdc781 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.04% green and 50.59% blue; printed in CMYK it uses 0% cyan, 2.93% magenta, 37.07% yellow and 19.61% black. Its hue angle is 55.26°, with 43.18% saturation and 65.49% 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.08:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.44.
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.5541 |
Shades
#cdc781 mixed progressively with black.
Tints
#cdc781 mixed progressively with white.
Tones
#cdc781 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc781 {
color: #cdc781;
}
.bg-cdc781 {
background-color: #cdc781;
color: #000000;
}
.border-cdc781 {
border: 2px solid #cdc781;
}
:root {
--color-primary: #cdc781;
--color-primary-rgb: 205 199 129;
--color-primary-hsl: 55 43% 65%;
}
.gradient-cdc781 {
background: linear-gradient(135deg, #cdc781, #adcd81);
}
.shadow-cdc781 {
box-shadow: 0 8px 24px rgb(205 199 129 / 0.35);
}
Dark Khaki
#cdc781 rgb(205, 199, 129) hsl(55, 43%, 65%) Dark Khaki
#8187cd rgb(129, 135, 205) hsl(235, 43%, 65%) Glaucous
#81cdc7 rgb(129, 205, 199) hsl(175, 43%, 65%) Medium Turquoise
#c781cd rgb(199, 129, 205) hsl(295, 43%, 65%) Orchid