#d8cd48 ≈ Straw
#d8cd48 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 80.39% green and 28.24% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 66.67% yellow and 15.29% black. Its hue angle is 55.42°, with 64.86% saturation and 56.47% 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.75:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.41.
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.5873 |
Shades
#d8cd48 mixed progressively with black.
Tints
#d8cd48 mixed progressively with white.
Tones
#d8cd48 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cd48 {
color: #d8cd48;
}
.bg-d8cd48 {
background-color: #d8cd48;
color: #000000;
}
.border-d8cd48 {
border: 2px solid #d8cd48;
}
:root {
--color-primary: #d8cd48;
--color-primary-rgb: 216 205 72;
--color-primary-hsl: 55 65% 56%;
}
.gradient-d8cd48 {
background: linear-gradient(135deg, #d8cd48, #9bd848);
}
.shadow-d8cd48 {
box-shadow: 0 8px 24px rgb(216 205 72 / 0.35);
}
Straw
#d8cd48 rgb(216, 205, 72) hsl(55, 65%, 56%) Straw
#4853d8 rgb(72, 83, 216) hsl(235, 65%, 56%) Iris
#48d8cd rgb(72, 216, 205) hsl(175, 65%, 56%) Turquoise
#cd48d8 rgb(205, 72, 216) hsl(295, 65%, 56%) Medium Orchid