#d7cc48 ≈ Straw
#d7cc48 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 80% green and 28.24% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 66.51% yellow and 15.69% black. Its hue angle is 55.38°, with 64.13% saturation and 56.27% 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.62: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 | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.581 |
Shades
#d7cc48 mixed progressively with black.
Tints
#d7cc48 mixed progressively with white.
Tones
#d7cc48 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cc48 {
color: #d7cc48;
}
.bg-d7cc48 {
background-color: #d7cc48;
color: #000000;
}
.border-d7cc48 {
border: 2px solid #d7cc48;
}
:root {
--color-primary: #d7cc48;
--color-primary-rgb: 215 204 72;
--color-primary-hsl: 55 64% 56%;
}
.gradient-d7cc48 {
background: linear-gradient(135deg, #d7cc48, #9bd748);
}
.shadow-d7cc48 {
box-shadow: 0 8px 24px rgb(215 204 72 / 0.35);
}
Straw
#d7cc48 rgb(215, 204, 72) hsl(55, 64%, 56%) Straw
#4853d7 rgb(72, 83, 215) hsl(235, 64%, 56%) Iris
#48d7cc rgb(72, 215, 204) hsl(175, 64%, 56%) Medium Turquoise
#cc48d7 rgb(204, 72, 215) hsl(295, 64%, 56%) Medium Orchid