#d1cc42 ≈ Straw
#d1cc42 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 80% green and 25.88% blue; printed in CMYK it uses 0% cyan, 2.39% magenta, 68.42% yellow and 18.04% black. Its hue angle is 57.9°, with 60.85% saturation and 53.92% 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.43:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.23.
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.5713 |
Shades
#d1cc42 mixed progressively with black.
Tints
#d1cc42 mixed progressively with white.
Tones
#d1cc42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d1cc42 {
color: #d1cc42;
}
.bg-d1cc42 {
background-color: #d1cc42;
color: #000000;
}
.border-d1cc42 {
border: 2px solid #d1cc42;
}
:root {
--color-primary: #d1cc42;
--color-primary-rgb: 209 204 66;
--color-primary-hsl: 58 61% 54%;
}
.gradient-d1cc42 {
background: linear-gradient(135deg, #d1cc42, #8fd142);
}
.shadow-d1cc42 {
box-shadow: 0 8px 24px rgb(209 204 66 / 0.35);
}
Straw
#d1cc42 rgb(209, 204, 66) hsl(58, 61%, 54%) Straw
#4247d1 rgb(66, 71, 209) hsl(238, 61%, 54%) Iris
#42d1cc rgb(66, 209, 204) hsl(178, 61%, 54%) Medium Turquoise
#cc42d1 rgb(204, 66, 209) hsl(298, 61%, 54%) Medium Orchid