#d2c55f ≈ Straw
#d2c55f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 77.25% green and 37.25% blue; printed in CMYK it uses 0% cyan, 6.19% magenta, 54.76% yellow and 17.65% black. Its hue angle is 53.22°, with 56.1% saturation and 59.8% 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 11.89:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.76.
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.5446 |
Shades
#d2c55f mixed progressively with black.
Tints
#d2c55f mixed progressively with white.
Tones
#d2c55f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c55f {
color: #d2c55f;
}
.bg-d2c55f {
background-color: #d2c55f;
color: #000000;
}
.border-d2c55f {
border: 2px solid #d2c55f;
}
:root {
--color-primary: #d2c55f;
--color-primary-rgb: 210 197 95;
--color-primary-hsl: 53 56% 60%;
}
.gradient-d2c55f {
background: linear-gradient(135deg, #d2c55f, #a5d25f);
}
.shadow-d2c55f {
box-shadow: 0 8px 24px rgb(210 197 95 / 0.35);
}
Straw
#d2c55f rgb(210, 197, 95) hsl(53, 56%, 60%) Straw
#5f6cd2 rgb(95, 108, 210) hsl(233, 56%, 60%) Royal Blue
#5fd2c5 rgb(95, 210, 197) hsl(173, 56%, 60%) Medium Turquoise
#c55fd2 rgb(197, 95, 210) hsl(293, 56%, 60%) Medium Orchid