#d2ca57 ≈ Straw
#d2ca57 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 79.22% green and 34.12% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 58.57% yellow and 17.65% black. Its hue angle is 56.1°, with 57.75% saturation and 58.24% 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.33:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.04.
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.5663 |
Shades
#d2ca57 mixed progressively with black.
Tints
#d2ca57 mixed progressively with white.
Tones
#d2ca57 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2ca57 {
color: #d2ca57;
}
.bg-d2ca57 {
background-color: #d2ca57;
color: #000000;
}
.border-d2ca57 {
border: 2px solid #d2ca57;
}
:root {
--color-primary: #d2ca57;
--color-primary-rgb: 210 202 87;
--color-primary-hsl: 56 58% 58%;
}
.gradient-d2ca57 {
background: linear-gradient(135deg, #d2ca57, #9dd257);
}
.shadow-d2ca57 {
box-shadow: 0 8px 24px rgb(210 202 87 / 0.35);
}
Straw
#d2ca57 rgb(210, 202, 87) hsl(56, 58%, 58%) Straw
#575fd2 rgb(87, 95, 210) hsl(236, 58%, 58%) Slate Blue
#57d2ca rgb(87, 210, 202) hsl(176, 58%, 58%) Medium Turquoise
#ca57d2 rgb(202, 87, 210) hsl(296, 58%, 58%) Medium Orchid