#d2cb6c ≈ Straw
#d2cb6c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 79.61% green and 42.35% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 48.57% yellow and 17.65% black. Its hue angle is 55.88°, with 53.13% saturation and 62.35% 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.5:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.575 |
Shades
#d2cb6c mixed progressively with black.
Tints
#d2cb6c mixed progressively with white.
Tones
#d2cb6c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cb6c {
color: #d2cb6c;
}
.bg-d2cb6c {
background-color: #d2cb6c;
color: #000000;
}
.border-d2cb6c {
border: 2px solid #d2cb6c;
}
:root {
--color-primary: #d2cb6c;
--color-primary-rgb: 210 203 108;
--color-primary-hsl: 56 53% 62%;
}
.gradient-d2cb6c {
background: linear-gradient(135deg, #d2cb6c, #a6d26c);
}
.shadow-d2cb6c {
box-shadow: 0 8px 24px rgb(210 203 108 / 0.35);
}
Straw
#d2cb6c rgb(210, 203, 108) hsl(56, 53%, 62%) Straw
#6c73d2 rgb(108, 115, 210) hsl(236, 53%, 62%) Medium Slate Blue
#6cd2cb rgb(108, 210, 203) hsl(176, 53%, 62%) Medium Turquoise
#cb6cd2 rgb(203, 108, 210) hsl(296, 53%, 62%) Orchid