#d4cc4d ≈ Straw
#d4cc4d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 80% green and 30.2% blue; printed in CMYK it uses 0% cyan, 3.77% magenta, 63.68% yellow and 16.86% black. Its hue angle is 56.44°, with 61.09% saturation and 56.67% 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.54:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.28.
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.5772 |
Shades
#d4cc4d mixed progressively with black.
Tints
#d4cc4d mixed progressively with white.
Tones
#d4cc4d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4cc4d {
color: #d4cc4d;
}
.bg-d4cc4d {
background-color: #d4cc4d;
color: #000000;
}
.border-d4cc4d {
border: 2px solid #d4cc4d;
}
:root {
--color-primary: #d4cc4d;
--color-primary-rgb: 212 204 77;
--color-primary-hsl: 56 61% 57%;
}
.gradient-d4cc4d {
background: linear-gradient(135deg, #d4cc4d, #99d44d);
}
.shadow-d4cc4d {
box-shadow: 0 8px 24px rgb(212 204 77 / 0.35);
}
Straw
#d4cc4d rgb(212, 204, 77) hsl(56, 61%, 57%) Straw
#4d55d4 rgb(77, 85, 212) hsl(236, 61%, 57%) Iris
#4dd4cc rgb(77, 212, 204) hsl(176, 61%, 57%) Medium Turquoise
#cc4dd4 rgb(204, 77, 212) hsl(296, 61%, 57%) Medium Orchid