#dcd78b ≈ Khaki
#dcd78b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 84.31% green and 54.51% blue; printed in CMYK it uses 0% cyan, 2.27% magenta, 36.82% yellow and 13.73% black. Its hue angle is 56.3°, 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.14:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.37.
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.6568 |
Shades
#dcd78b mixed progressively with black.
Tints
#dcd78b mixed progressively with white.
Tones
#dcd78b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd78b {
color: #dcd78b;
}
.bg-dcd78b {
background-color: #dcd78b;
color: #000000;
}
.border-dcd78b {
border: 2px solid #dcd78b;
}
:root {
--color-primary: #dcd78b;
--color-primary-rgb: 220 215 139;
--color-primary-hsl: 56 54% 70%;
}
.gradient-dcd78b {
background: linear-gradient(135deg, #dcd78b, #b8dc8b);
}
.shadow-dcd78b {
box-shadow: 0 8px 24px rgb(220 215 139 / 0.35);
}
Khaki
#dcd78b rgb(220, 215, 139) hsl(56, 54%, 70%) Khaki
#8b90dc rgb(139, 144, 220) hsl(236, 54%, 70%) Cornflower Blue
#8bdcd7 rgb(139, 220, 215) hsl(176, 54%, 70%) Pale Turquoise
#d78bdc rgb(215, 139, 220) hsl(296, 54%, 70%) Violet