#cbcc5f ≈ Straw
#cbcc5f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 79.61% red, 80% green and 37.25% blue; printed in CMYK it uses 0.49% cyan, 0% magenta, 53.43% yellow and 20% black. Its hue angle is 60.55°, with 51.66% saturation and 58.63% 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.79.
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
#cbcc5f mixed progressively with black.
Tints
#cbcc5f mixed progressively with white.
Tones
#cbcc5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cbcc5f {
color: #cbcc5f;
}
.bg-cbcc5f {
background-color: #cbcc5f;
color: #000000;
}
.border-cbcc5f {
border: 2px solid #cbcc5f;
}
:root {
--color-primary: #cbcc5f;
--color-primary-rgb: 203 204 95;
--color-primary-hsl: 61 52% 59%;
}
.gradient-cbcc5f {
background: linear-gradient(135deg, #cbcc5f, #95cc5f);
}
.shadow-cbcc5f {
box-shadow: 0 8px 24px rgb(203 204 95 / 0.35);
}
Straw
#cbcc5f rgb(203, 204, 95) hsl(61, 52%, 59%) Straw
#605fcc rgb(96, 95, 204) hsl(241, 52%, 59%) Slate Blue
#5fcbcc rgb(95, 203, 204) hsl(181, 52%, 59%) Medium Turquoise
#cc5fcb rgb(204, 95, 203) hsl(301, 52%, 59%) Orchid