#d3cc42 ≈ Straw
#d3cc42 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 80% green and 25.88% blue; printed in CMYK it uses 0% cyan, 3.32% magenta, 68.72% yellow and 17.25% black. Its hue angle is 57.1°, with 62.23% saturation and 54.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 12.49:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.09.
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.5743 |
Shades
#d3cc42 mixed progressively with black.
Tints
#d3cc42 mixed progressively with white.
Tones
#d3cc42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d3cc42 {
color: #d3cc42;
}
.bg-d3cc42 {
background-color: #d3cc42;
color: #000000;
}
.border-d3cc42 {
border: 2px solid #d3cc42;
}
:root {
--color-primary: #d3cc42;
--color-primary-rgb: 211 204 66;
--color-primary-hsl: 57 62% 54%;
}
.gradient-d3cc42 {
background: linear-gradient(135deg, #d3cc42, #91d342);
}
.shadow-d3cc42 {
box-shadow: 0 8px 24px rgb(211 204 66 / 0.35);
}
Straw
#d3cc42 rgb(211, 204, 66) hsl(57, 62%, 54%) Straw
#4249d3 rgb(66, 73, 211) hsl(237, 62%, 54%) Iris
#42d3cc rgb(66, 211, 204) hsl(177, 62%, 54%) Medium Turquoise
#cc42d3 rgb(204, 66, 211) hsl(297, 62%, 54%) Medium Orchid