#cdcc4e ≈ Straw
#cdcc4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 80% green and 30.59% blue; printed in CMYK it uses 0% cyan, 0.49% magenta, 61.95% yellow and 19.61% black. Its hue angle is 59.53°, with 55.95% saturation and 55.49% 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.34:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.97.
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.5671 |
Shades
#cdcc4e mixed progressively with black.
Tints
#cdcc4e mixed progressively with white.
Tones
#cdcc4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcc4e {
color: #cdcc4e;
}
.bg-cdcc4e {
background-color: #cdcc4e;
color: #000000;
}
.border-cdcc4e {
border: 2px solid #cdcc4e;
}
:root {
--color-primary: #cdcc4e;
--color-primary-rgb: 205 204 78;
--color-primary-hsl: 60 56% 55%;
}
.gradient-cdcc4e {
background: linear-gradient(135deg, #cdcc4e, #8ecd4e);
}
.shadow-cdcc4e {
box-shadow: 0 8px 24px rgb(205 204 78 / 0.35);
}
Straw
#cdcc4e rgb(205, 204, 78) hsl(60, 56%, 55%) Straw
#4e4fcd rgb(78, 79, 205) hsl(240, 56%, 55%) Iris
#4ecdcc rgb(78, 205, 204) hsl(180, 56%, 55%) Medium Turquoise
#cc4ecd rgb(204, 78, 205) hsl(300, 56%, 55%) Medium Orchid