#d2c852 ≈ Straw
#d2c852 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 78.43% green and 32.16% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 60.95% yellow and 17.65% black. Its hue angle is 55.31°, with 58.72% saturation and 57.25% 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.12:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.51.
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.5562 |
Shades
#d2c852 mixed progressively with black.
Tints
#d2c852 mixed progressively with white.
Tones
#d2c852 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c852 {
color: #d2c852;
}
.bg-d2c852 {
background-color: #d2c852;
color: #000000;
}
.border-d2c852 {
border: 2px solid #d2c852;
}
:root {
--color-primary: #d2c852;
--color-primary-rgb: 210 200 82;
--color-primary-hsl: 55 59% 57%;
}
.gradient-d2c852 {
background: linear-gradient(135deg, #d2c852, #9cd252);
}
.shadow-d2c852 {
box-shadow: 0 8px 24px rgb(210 200 82 / 0.35);
}
Straw
#d2c852 rgb(210, 200, 82) hsl(55, 59%, 57%) Straw
#525cd2 rgb(82, 92, 210) hsl(235, 59%, 57%) Slate Blue
#52d2c8 rgb(82, 210, 200) hsl(175, 59%, 57%) Medium Turquoise
#c852d2 rgb(200, 82, 210) hsl(295, 59%, 57%) Medium Orchid