#dede8b ≈ Khaki
#dede8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.06% red, 87.06% green and 54.51% blue; printed in CMYK it uses 0% cyan, 0% magenta, 37.39% yellow and 12.94% black. Its hue angle is 60°, with 55.7% saturation and 70.78% 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.93:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.66.
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.6964 |
Shades
#dede8b mixed progressively with black.
Tints
#dede8b mixed progressively with white.
Tones
#dede8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dede8b {
color: #dede8b;
}
.bg-dede8b {
background-color: #dede8b;
color: #000000;
}
.border-dede8b {
border: 2px solid #dede8b;
}
:root {
--color-primary: #dede8b;
--color-primary-rgb: 222 222 139;
--color-primary-hsl: 60 56% 71%;
}
.gradient-dede8b {
background: linear-gradient(135deg, #dede8b, #b4de8b);
}
.shadow-dede8b {
box-shadow: 0 8px 24px rgb(222 222 139 / 0.35);
}
Khaki
#dede8b rgb(222, 222, 139) hsl(60, 56%, 71%) Khaki
#8b8bde rgb(139, 139, 222) hsl(240, 56%, 71%) Medium Purple
#8bdede rgb(139, 222, 222) hsl(180, 56%, 71%) Pale Turquoise
#de8bde rgb(222, 139, 222) hsl(300, 56%, 71%) Violet