#d0cd4f ≈ Straw
#d0cd4f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 80.39% green and 30.98% blue; printed in CMYK it uses 0% cyan, 1.44% magenta, 62.02% yellow and 18.43% black. Its hue angle is 58.6°, with 57.85% saturation and 56.27% 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.53:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.52.
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.5764 |
Shades
#d0cd4f mixed progressively with black.
Tints
#d0cd4f mixed progressively with white.
Tones
#d0cd4f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d0cd4f {
color: #d0cd4f;
}
.bg-d0cd4f {
background-color: #d0cd4f;
color: #000000;
}
.border-d0cd4f {
border: 2px solid #d0cd4f;
}
:root {
--color-primary: #d0cd4f;
--color-primary-rgb: 208 205 79;
--color-primary-hsl: 59 58% 56%;
}
.gradient-d0cd4f {
background: linear-gradient(135deg, #d0cd4f, #92d04f);
}
.shadow-d0cd4f {
box-shadow: 0 8px 24px rgb(208 205 79 / 0.35);
}
Straw
#d0cd4f rgb(208, 205, 79) hsl(59, 58%, 56%) Straw
#4f52d0 rgb(79, 82, 208) hsl(239, 58%, 56%) Iris
#4fd0cd rgb(79, 208, 205) hsl(179, 58%, 56%) Medium Turquoise
#cd4fd0 rgb(205, 79, 208) hsl(299, 58%, 56%) Medium Orchid