#d7cd46 ≈ Straw
#d7cd46 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.39% green and 27.45% blue; printed in CMYK it uses 0% cyan, 4.65% magenta, 67.44% yellow and 15.69% black. Its hue angle is 55.86°, with 64.44% saturation and 55.88% 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.71:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.58.
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.5855 |
Shades
#d7cd46 mixed progressively with black.
Tints
#d7cd46 mixed progressively with white.
Tones
#d7cd46 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cd46 {
color: #d7cd46;
}
.bg-d7cd46 {
background-color: #d7cd46;
color: #000000;
}
.border-d7cd46 {
border: 2px solid #d7cd46;
}
:root {
--color-primary: #d7cd46;
--color-primary-rgb: 215 205 70;
--color-primary-hsl: 56 64% 56%;
}
.gradient-d7cd46 {
background: linear-gradient(135deg, #d7cd46, #98d746);
}
.shadow-d7cd46 {
box-shadow: 0 8px 24px rgb(215 205 70 / 0.35);
}
Straw
#d7cd46 rgb(215, 205, 70) hsl(56, 64%, 56%) Straw
#4650d7 rgb(70, 80, 215) hsl(236, 64%, 56%) Iris
#46d7cd rgb(70, 215, 205) hsl(176, 64%, 56%) Medium Turquoise
#cd46d7 rgb(205, 70, 215) hsl(296, 64%, 56%) Medium Orchid