#dcda8b ≈ Khaki
#dcda8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 85.49% green and 54.51% blue; printed in CMYK it uses 0% cyan, 0.91% magenta, 36.82% yellow and 13.73% black. Its hue angle is 58.52°, with 53.64% saturation and 70.39% 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 14.44:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.09.
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.6722 |
Shades
#dcda8b mixed progressively with black.
Tints
#dcda8b mixed progressively with white.
Tones
#dcda8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcda8b {
color: #dcda8b;
}
.bg-dcda8b {
background-color: #dcda8b;
color: #000000;
}
.border-dcda8b {
border: 2px solid #dcda8b;
}
:root {
--color-primary: #dcda8b;
--color-primary-rgb: 220 218 139;
--color-primary-hsl: 59 54% 70%;
}
.gradient-dcda8b {
background: linear-gradient(135deg, #dcda8b, #b5dc8b);
}
.shadow-dcda8b {
box-shadow: 0 8px 24px rgb(220 218 139 / 0.35);
}
Khaki
#dcda8b rgb(220, 218, 139) hsl(59, 54%, 70%) Khaki
#8b8ddc rgb(139, 141, 220) hsl(239, 54%, 70%) Medium Purple
#8bdcda rgb(139, 220, 218) hsl(179, 54%, 70%) Pale Turquoise
#da8bdc rgb(218, 139, 220) hsl(299, 54%, 70%) Violet