#d7cd6a ≈ Straw
#d7cd6a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 80.39% green and 41.57% blue; printed in CMYK it uses 0% cyan, 4.65% magenta, 50.7% yellow and 15.69% black. Its hue angle is 54.5°, with 57.67% saturation and 62.94% 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.83:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.98.
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.5915 |
Shades
#d7cd6a mixed progressively with black.
Tints
#d7cd6a mixed progressively with white.
Tones
#d7cd6a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cd6a {
color: #d7cd6a;
}
.bg-d7cd6a {
background-color: #d7cd6a;
color: #000000;
}
.border-d7cd6a {
border: 2px solid #d7cd6a;
}
:root {
--color-primary: #d7cd6a;
--color-primary-rgb: 215 205 106;
--color-primary-hsl: 55 58% 63%;
}
.gradient-d7cd6a {
background: linear-gradient(135deg, #d7cd6a, #aad76a);
}
.shadow-d7cd6a {
box-shadow: 0 8px 24px rgb(215 205 106 / 0.35);
}
Straw
#d7cd6a rgb(215, 205, 106) hsl(55, 58%, 63%) Straw
#6a74d7 rgb(106, 116, 215) hsl(235, 58%, 63%) Medium Slate Blue
#6ad7cd rgb(106, 215, 205) hsl(175, 58%, 63%) Medium Turquoise
#cd6ad7 rgb(205, 106, 215) hsl(295, 58%, 63%) Orchid