#decf4c ≈ Straw
#decf4c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 81.18% green and 29.8% blue; printed in CMYK it uses 0% cyan, 6.76% magenta, 65.77% yellow and 12.94% black. Its hue angle is 53.84°, with 68.87% saturation and 58.43% 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 13.14:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.01.
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.6068 |
Shades
#decf4c mixed progressively with black.
Tints
#decf4c mixed progressively with white.
Tones
#decf4c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-decf4c {
color: #decf4c;
}
.bg-decf4c {
background-color: #decf4c;
color: #000000;
}
.border-decf4c {
border: 2px solid #decf4c;
}
:root {
--color-primary: #decf4c;
--color-primary-rgb: 222 207 76;
--color-primary-hsl: 54 69% 58%;
}
.gradient-decf4c {
background: linear-gradient(135deg, #decf4c, #a4de4c);
}
.shadow-decf4c {
box-shadow: 0 8px 24px rgb(222 207 76 / 0.35);
}
Straw
#decf4c rgb(222, 207, 76) hsl(54, 69%, 58%) Straw
#4c5bde rgb(76, 91, 222) hsl(234, 69%, 58%) Majorelle Blue
#4cdecf rgb(76, 222, 207) hsl(174, 69%, 58%) Turquoise
#cf4cde rgb(207, 76, 222) hsl(294, 69%, 58%) Medium Orchid