#cacc4e ≈ Straw
#cacc4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 79.22% red, 80% green and 30.59% blue; printed in CMYK it uses 0.98% cyan, 0% magenta, 61.76% yellow and 20% black. Its hue angle is 60.95°, with 55.26% saturation and 55.29% 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.26:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.43.
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.5629 |
Shades
#cacc4e mixed progressively with black.
Tints
#cacc4e mixed progressively with white.
Tones
#cacc4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cacc4e {
color: #cacc4e;
}
.bg-cacc4e {
background-color: #cacc4e;
color: #000000;
}
.border-cacc4e {
border: 2px solid #cacc4e;
}
:root {
--color-primary: #cacc4e;
--color-primary-rgb: 202 204 78;
--color-primary-hsl: 61 55% 55%;
}
.gradient-cacc4e {
background: linear-gradient(135deg, #cacc4e, #8bcc4e);
}
.shadow-cacc4e {
box-shadow: 0 8px 24px rgb(202 204 78 / 0.35);
}
Straw
#cacc4e rgb(202, 204, 78) hsl(61, 55%, 55%) Straw
#504ecc rgb(80, 78, 204) hsl(241, 55%, 55%) Iris
#4ecacc rgb(78, 202, 204) hsl(181, 55%, 55%) Dark Turquoise
#cc4eca rgb(204, 78, 202) hsl(301, 55%, 55%) Medium Orchid