#d9cf71 ≈ Straw
#d9cf71 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 81.18% green and 44.31% blue; printed in CMYK it uses 0% cyan, 4.61% magenta, 47.93% yellow and 14.9% black. Its hue angle is 54.23°, with 57.78% saturation and 64.71% 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 13.11:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.84.
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.6057 |
Shades
#d9cf71 mixed progressively with black.
Tints
#d9cf71 mixed progressively with white.
Tones
#d9cf71 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9cf71 {
color: #d9cf71;
}
.bg-d9cf71 {
background-color: #d9cf71;
color: #000000;
}
.border-d9cf71 {
border: 2px solid #d9cf71;
}
:root {
--color-primary: #d9cf71;
--color-primary-rgb: 217 207 113;
--color-primary-hsl: 54 58% 65%;
}
.gradient-d9cf71 {
background: linear-gradient(135deg, #d9cf71, #afd971);
}
.shadow-d9cf71 {
box-shadow: 0 8px 24px rgb(217 207 113 / 0.35);
}
Straw
#d9cf71 rgb(217, 207, 113) hsl(54, 58%, 65%) Straw
#717bd9 rgb(113, 123, 217) hsl(234, 58%, 65%) Glaucous
#71d9cf rgb(113, 217, 207) hsl(174, 58%, 65%) Medium Turquoise
#cf71d9 rgb(207, 113, 217) hsl(294, 58%, 65%) Orchid