#dcdc8a ≈ Khaki
#dcdc8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 86.27% green and 54.12% blue; printed in CMYK it uses 0% cyan, 0% magenta, 37.27% yellow and 13.73% black. Its hue angle is 60°, with 53.95% saturation and 70.2% 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.65:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.99.
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.6824 |
Shades
#dcdc8a mixed progressively with black.
Tints
#dcdc8a mixed progressively with white.
Tones
#dcdc8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcdc8a {
color: #dcdc8a;
}
.bg-dcdc8a {
background-color: #dcdc8a;
color: #000000;
}
.border-dcdc8a {
border: 2px solid #dcdc8a;
}
:root {
--color-primary: #dcdc8a;
--color-primary-rgb: 220 220 138;
--color-primary-hsl: 60 54% 70%;
}
.gradient-dcdc8a {
background: linear-gradient(135deg, #dcdc8a, #b3dc8a);
}
.shadow-dcdc8a {
box-shadow: 0 8px 24px rgb(220 220 138 / 0.35);
}
Khaki
#dcdc8a rgb(220, 220, 138) hsl(60, 54%, 70%) Khaki
#8a8adc rgb(138, 138, 220) hsl(240, 54%, 70%) Medium Purple
#8adcdc rgb(138, 220, 220) hsl(180, 54%, 70%) Pale Turquoise
#dc8adc rgb(220, 138, 220) hsl(300, 54%, 70%) Violet