#d2c786 ≈ Dark Khaki
#d2c786 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 78.04% green and 52.55% blue; printed in CMYK it uses 0% cyan, 5.24% magenta, 36.19% yellow and 17.65% black. Its hue angle is 51.32°, with 45.78% saturation and 67.45% 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 12.25:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.28.
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.5627 |
Shades
#d2c786 mixed progressively with black.
Tints
#d2c786 mixed progressively with white.
Tones
#d2c786 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c786 {
color: #d2c786;
}
.bg-d2c786 {
background-color: #d2c786;
color: #000000;
}
.border-d2c786 {
border: 2px solid #d2c786;
}
:root {
--color-primary: #d2c786;
--color-primary-rgb: 210 199 134;
--color-primary-hsl: 51 46% 67%;
}
.gradient-d2c786 {
background: linear-gradient(135deg, #d2c786, #b7d286);
}
.shadow-d2c786 {
box-shadow: 0 8px 24px rgb(210 199 134 / 0.35);
}
Dark Khaki
#d2c786 rgb(210, 199, 134) hsl(51, 46%, 67%) Dark Khaki
#8691d2 rgb(134, 145, 210) hsl(231, 46%, 67%) Cornflower Blue
#86d2c7 rgb(134, 210, 199) hsl(171, 46%, 67%) Medium Turquoise
#c786d2 rgb(199, 134, 210) hsl(291, 46%, 67%) Floral Lavender