#d4c871 ≈ Straw
#d4c871 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 78.43% green and 44.31% blue; printed in CMYK it uses 0% cyan, 5.66% magenta, 46.7% yellow and 16.86% black. Its hue angle is 52.73°, with 53.51% saturation and 63.73% 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.3:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.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.565 |
Shades
#d4c871 mixed progressively with black.
Tints
#d4c871 mixed progressively with white.
Tones
#d4c871 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4c871 {
color: #d4c871;
}
.bg-d4c871 {
background-color: #d4c871;
color: #000000;
}
.border-d4c871 {
border: 2px solid #d4c871;
}
:root {
--color-primary: #d4c871;
--color-primary-rgb: 212 200 113;
--color-primary-hsl: 53 54% 64%;
}
.gradient-d4c871 {
background: linear-gradient(135deg, #d4c871, #afd471);
}
.shadow-d4c871 {
box-shadow: 0 8px 24px rgb(212 200 113 / 0.35);
}
Straw
#d4c871 rgb(212, 200, 113) hsl(53, 54%, 64%) Straw
#717dd4 rgb(113, 125, 212) hsl(233, 54%, 64%) Glaucous
#71d4c8 rgb(113, 212, 200) hsl(173, 54%, 64%) Medium Turquoise
#c871d4 rgb(200, 113, 212) hsl(293, 54%, 64%) Orchid