#d2cf40 ≈ Straw
#d2cf40 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.18% green and 25.1% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 69.52% yellow and 17.65% black. Its hue angle is 58.77°, with 61.86% saturation and 53.73% 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.74:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.29.
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.587 |
Shades
#d2cf40 mixed progressively with black.
Tints
#d2cf40 mixed progressively with white.
Tones
#d2cf40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cf40 {
color: #d2cf40;
}
.bg-d2cf40 {
background-color: #d2cf40;
color: #000000;
}
.border-d2cf40 {
border: 2px solid #d2cf40;
}
:root {
--color-primary: #d2cf40;
--color-primary-rgb: 210 207 64;
--color-primary-hsl: 59 62% 54%;
}
.gradient-d2cf40 {
background: linear-gradient(135deg, #d2cf40, #8cd240);
}
.shadow-d2cf40 {
box-shadow: 0 8px 24px rgb(210 207 64 / 0.35);
}
Straw
#d2cf40 rgb(210, 207, 64) hsl(59, 62%, 54%) Straw
#4043d2 rgb(64, 67, 210) hsl(239, 62%, 54%) Ocean Blue
#40d2cf rgb(64, 210, 207) hsl(179, 62%, 54%) Medium Turquoise
#cf40d2 rgb(207, 64, 210) hsl(299, 62%, 54%) Medium Orchid