#cdc572 ≈ Dark Khaki
#cdc572 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 77.25% green and 44.71% blue; printed in CMYK it uses 0% cyan, 3.9% magenta, 44.39% yellow and 19.61% black. Its hue angle is 54.73°, with 47.64% saturation and 62.55% 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 11.83:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.9.
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.5413 |
Shades
#cdc572 mixed progressively with black.
Tints
#cdc572 mixed progressively with white.
Tones
#cdc572 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc572 {
color: #cdc572;
}
.bg-cdc572 {
background-color: #cdc572;
color: #000000;
}
.border-cdc572 {
border: 2px solid #cdc572;
}
:root {
--color-primary: #cdc572;
--color-primary-rgb: 205 197 114;
--color-primary-hsl: 55 48% 63%;
}
.gradient-cdc572 {
background: linear-gradient(135deg, #cdc572, #a7cd72);
}
.shadow-cdc572 {
box-shadow: 0 8px 24px rgb(205 197 114 / 0.35);
}
Dark Khaki
#cdc572 rgb(205, 197, 114) hsl(55, 48%, 63%) Dark Khaki
#727acd rgb(114, 122, 205) hsl(235, 48%, 63%) Glaucous
#72cdc5 rgb(114, 205, 197) hsl(175, 48%, 63%) Medium Turquoise
#c572cd rgb(197, 114, 205) hsl(295, 48%, 63%) Orchid