#d2d271 ≈ Straw
#d2d271 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 82.35% green and 44.31% blue; printed in CMYK it uses 0% cyan, 0% magenta, 46.19% yellow and 17.65% black. Its hue angle is 60°, with 51.87% 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 13.2:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.85.
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.6099 |
Shades
#d2d271 mixed progressively with black.
Tints
#d2d271 mixed progressively with white.
Tones
#d2d271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2d271 {
color: #d2d271;
}
.bg-d2d271 {
background-color: #d2d271;
color: #000000;
}
.border-d2d271 {
border: 2px solid #d2d271;
}
:root {
--color-primary: #d2d271;
--color-primary-rgb: 210 210 113;
--color-primary-hsl: 60 52% 63%;
}
.gradient-d2d271 {
background: linear-gradient(135deg, #d2d271, #a1d271);
}
.shadow-d2d271 {
box-shadow: 0 8px 24px rgb(210 210 113 / 0.35);
}
Straw
#d2d271 rgb(210, 210, 113) hsl(60, 52%, 63%) Straw
#7171d2 rgb(113, 113, 210) hsl(240, 52%, 63%) Medium Slate Blue
#71d2d2 rgb(113, 210, 210) hsl(180, 52%, 63%) Medium Turquoise
#d271d2 rgb(210, 113, 210) hsl(300, 52%, 63%) Orchid