#d5ca4f ≈ Straw
#d5ca4f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 79.22% green and 30.98% blue; printed in CMYK it uses 0% cyan, 5.16% magenta, 62.91% yellow and 16.47% black. Its hue angle is 55.07°, with 61.47% saturation and 57.25% 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.39:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.29.
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.5695 |
Shades
#d5ca4f mixed progressively with black.
Tints
#d5ca4f mixed progressively with white.
Tones
#d5ca4f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5ca4f {
color: #d5ca4f;
}
.bg-d5ca4f {
background-color: #d5ca4f;
color: #000000;
}
.border-d5ca4f {
border: 2px solid #d5ca4f;
}
:root {
--color-primary: #d5ca4f;
--color-primary-rgb: 213 202 79;
--color-primary-hsl: 55 61% 57%;
}
.gradient-d5ca4f {
background: linear-gradient(135deg, #d5ca4f, #9dd54f);
}
.shadow-d5ca4f {
box-shadow: 0 8px 24px rgb(213 202 79 / 0.35);
}
Straw
#d5ca4f rgb(213, 202, 79) hsl(55, 61%, 57%) Straw
#4f5ad5 rgb(79, 90, 213) hsl(235, 61%, 57%) Iris
#4fd5ca rgb(79, 213, 202) hsl(175, 61%, 57%) Medium Turquoise
#ca4fd5 rgb(202, 79, 213) hsl(295, 61%, 57%) Medium Orchid