#d7d271 ≈ Straw
#d7d271 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 82.35% green and 44.31% blue; printed in CMYK it uses 0% cyan, 2.33% magenta, 47.44% yellow and 15.69% black. Its hue angle is 57.06°, with 56.04% saturation and 64.31% 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.35:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.77.
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.6173 |
Shades
#d7d271 mixed progressively with black.
Tints
#d7d271 mixed progressively with white.
Tones
#d7d271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7d271 {
color: #d7d271;
}
.bg-d7d271 {
background-color: #d7d271;
color: #000000;
}
.border-d7d271 {
border: 2px solid #d7d271;
}
:root {
--color-primary: #d7d271;
--color-primary-rgb: 215 210 113;
--color-primary-hsl: 57 56% 64%;
}
.gradient-d7d271 {
background: linear-gradient(135deg, #d7d271, #a9d771);
}
.shadow-d7d271 {
box-shadow: 0 8px 24px rgb(215 210 113 / 0.35);
}
Straw
#d7d271 rgb(215, 210, 113) hsl(57, 56%, 64%) Straw
#7176d7 rgb(113, 118, 215) hsl(237, 56%, 64%) Medium Slate Blue
#71d7d2 rgb(113, 215, 210) hsl(177, 56%, 64%) Medium Turquoise
#d271d7 rgb(210, 113, 215) hsl(297, 56%, 64%) Orchid