#d4cf6a ≈ Straw
#d4cf6a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.14% red, 81.18% green and 41.57% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 50% yellow and 16.86% black. Its hue angle is 57.17°, with 55.21% saturation and 62.35% 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.93:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.12.
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.5966 |
Shades
#d4cf6a mixed progressively with black.
Tints
#d4cf6a mixed progressively with white.
Tones
#d4cf6a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4cf6a {
color: #d4cf6a;
}
.bg-d4cf6a {
background-color: #d4cf6a;
color: #000000;
}
.border-d4cf6a {
border: 2px solid #d4cf6a;
}
:root {
--color-primary: #d4cf6a;
--color-primary-rgb: 212 207 106;
--color-primary-hsl: 57 55% 62%;
}
.gradient-d4cf6a {
background: linear-gradient(135deg, #d4cf6a, #a4d46a);
}
.shadow-d4cf6a {
box-shadow: 0 8px 24px rgb(212 207 106 / 0.35);
}
Straw
#d4cf6a rgb(212, 207, 106) hsl(57, 55%, 62%) Straw
#6a6fd4 rgb(106, 111, 212) hsl(237, 55%, 62%) Medium Slate Blue
#6ad4cf rgb(106, 212, 207) hsl(177, 55%, 62%) Medium Turquoise
#cf6ad4 rgb(207, 106, 212) hsl(297, 55%, 62%) Orchid