#dddc8b ≈ Khaki
#dddc8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.67% red, 86.27% green and 54.51% blue; printed in CMYK it uses 0% cyan, 0.45% magenta, 37.1% yellow and 13.33% black. Its hue angle is 59.27°, with 54.67% saturation and 70.59% 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.68:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.84.
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.6842 |
Shades
#dddc8b mixed progressively with black.
Tints
#dddc8b mixed progressively with white.
Tones
#dddc8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dddc8b {
color: #dddc8b;
}
.bg-dddc8b {
background-color: #dddc8b;
color: #000000;
}
.border-dddc8b {
border: 2px solid #dddc8b;
}
:root {
--color-primary: #dddc8b;
--color-primary-rgb: 221 220 139;
--color-primary-hsl: 59 55% 71%;
}
.gradient-dddc8b {
background: linear-gradient(135deg, #dddc8b, #b5dd8b);
}
.shadow-dddc8b {
box-shadow: 0 8px 24px rgb(221 220 139 / 0.35);
}
Khaki
#dddc8b rgb(221, 220, 139) hsl(59, 55%, 71%) Khaki
#8b8cdd rgb(139, 140, 221) hsl(239, 55%, 71%) Medium Purple
#8bdddc rgb(139, 221, 220) hsl(179, 55%, 71%) Pale Turquoise
#dc8bdd rgb(220, 139, 221) hsl(299, 55%, 71%) Violet