#d7d178 ≈ Straw
#d7d178 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 81.96% green and 47.06% blue; printed in CMYK it uses 0% cyan, 2.79% magenta, 44.19% yellow and 15.69% black. Its hue angle is 56.21°, with 54.29% saturation and 65.69% 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.28:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.45.
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.614 |
Shades
#d7d178 mixed progressively with black.
Tints
#d7d178 mixed progressively with white.
Tones
#d7d178 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7d178 {
color: #d7d178;
}
.bg-d7d178 {
background-color: #d7d178;
color: #000000;
}
.border-d7d178 {
border: 2px solid #d7d178;
}
:root {
--color-primary: #d7d178;
--color-primary-rgb: 215 209 120;
--color-primary-hsl: 56 54% 66%;
}
.gradient-d7d178 {
background: linear-gradient(135deg, #d7d178, #aed778);
}
.shadow-d7d178 {
box-shadow: 0 8px 24px rgb(215 209 120 / 0.35);
}
Straw
#d7d178 rgb(215, 209, 120) hsl(56, 54%, 66%) Straw
#787ed7 rgb(120, 126, 215) hsl(236, 54%, 66%) Glaucous
#78d7d1 rgb(120, 215, 209) hsl(176, 54%, 66%) Medium Turquoise
#d178d7 rgb(209, 120, 215) hsl(296, 54%, 66%) Orchid