#d4ca6f ≈ Straw
#d4ca6f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 79.22% green and 43.53% blue; printed in CMYK it uses 0% cyan, 4.72% magenta, 47.64% yellow and 16.86% black. Its hue angle is 54.06°, with 54.01% saturation and 63.33% 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.48:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.07.
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.5739 |
Shades
#d4ca6f mixed progressively with black.
Tints
#d4ca6f mixed progressively with white.
Tones
#d4ca6f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4ca6f {
color: #d4ca6f;
}
.bg-d4ca6f {
background-color: #d4ca6f;
color: #000000;
}
.border-d4ca6f {
border: 2px solid #d4ca6f;
}
:root {
--color-primary: #d4ca6f;
--color-primary-rgb: 212 202 111;
--color-primary-hsl: 54 54% 63%;
}
.gradient-d4ca6f {
background: linear-gradient(135deg, #d4ca6f, #abd46f);
}
.shadow-d4ca6f {
box-shadow: 0 8px 24px rgb(212 202 111 / 0.35);
}
Straw
#d4ca6f rgb(212, 202, 111) hsl(54, 54%, 63%) Straw
#6f79d4 rgb(111, 121, 212) hsl(234, 54%, 63%) Glaucous
#6fd4ca rgb(111, 212, 202) hsl(174, 54%, 63%) Medium Turquoise
#ca6fd4 rgb(202, 111, 212) hsl(294, 54%, 63%) Orchid