#d7ca5a ≈ Straw
#d7ca5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.31% red, 79.22% green and 35.29% blue; printed in CMYK it uses 0% cyan, 6.05% magenta, 58.14% yellow and 15.69% black. Its hue angle is 53.76°, with 60.98% saturation and 59.8% 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.49:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.7.
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.5743 |
Shades
#d7ca5a mixed progressively with black.
Tints
#d7ca5a mixed progressively with white.
Tones
#d7ca5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7ca5a {
color: #d7ca5a;
}
.bg-d7ca5a {
background-color: #d7ca5a;
color: #000000;
}
.border-d7ca5a {
border: 2px solid #d7ca5a;
}
:root {
--color-primary: #d7ca5a;
--color-primary-rgb: 215 202 90;
--color-primary-hsl: 54 61% 60%;
}
.gradient-d7ca5a {
background: linear-gradient(135deg, #d7ca5a, #a5d75a);
}
.shadow-d7ca5a {
box-shadow: 0 8px 24px rgb(215 202 90 / 0.35);
}
Straw
#d7ca5a rgb(215, 202, 90) hsl(54, 61%, 60%) Straw
#5a67d7 rgb(90, 103, 215) hsl(234, 61%, 60%) Royal Blue
#5ad7ca rgb(90, 215, 202) hsl(174, 61%, 60%) Turquoise
#ca5ad7 rgb(202, 90, 215) hsl(294, 61%, 60%) Medium Orchid