#d2d148 ≈ Straw
#d2d148 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 81.96% green and 28.24% blue; printed in CMYK it uses 0% cyan, 0.48% magenta, 65.71% yellow and 17.65% black. Its hue angle is 59.57°, with 60.53% saturation and 55.29% 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.95:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.85.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5977 |
Shades
#d2d148 mixed progressively with black.
Tints
#d2d148 mixed progressively with white.
Tones
#d2d148 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2d148 {
color: #d2d148;
}
.bg-d2d148 {
background-color: #d2d148;
color: #000000;
}
.border-d2d148 {
border: 2px solid #d2d148;
}
:root {
--color-primary: #d2d148;
--color-primary-rgb: 210 209 72;
--color-primary-hsl: 60 61% 55%;
}
.gradient-d2d148 {
background: linear-gradient(135deg, #d2d148, #8ed248);
}
.shadow-d2d148 {
box-shadow: 0 8px 24px rgb(210 209 72 / 0.35);
}
Straw
#d2d148 rgb(210, 209, 72) hsl(60, 61%, 55%) Straw
#4849d2 rgb(72, 73, 210) hsl(240, 61%, 55%) Iris
#48d2d1 rgb(72, 210, 209) hsl(180, 61%, 55%) Medium Turquoise
#d148d2 rgb(209, 72, 210) hsl(300, 61%, 55%) Medium Orchid