#cccb5b ≈ Straw
#cccb5b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80% red, 79.61% green and 35.69% blue; printed in CMYK it uses 0% cyan, 0.49% magenta, 55.39% yellow and 20% black. Its hue angle is 59.47°, with 52.56% saturation and 57.84% 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 4.65.
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.563 |
Shades
#cccb5b mixed progressively with black.
Tints
#cccb5b mixed progressively with white.
Tones
#cccb5b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cccb5b {
color: #cccb5b;
}
.bg-cccb5b {
background-color: #cccb5b;
color: #000000;
}
.border-cccb5b {
border: 2px solid #cccb5b;
}
:root {
--color-primary: #cccb5b;
--color-primary-rgb: 204 203 91;
--color-primary-hsl: 59 53% 58%;
}
.gradient-cccb5b {
background: linear-gradient(135deg, #cccb5b, #94cc5b);
}
.shadow-cccb5b {
box-shadow: 0 8px 24px rgb(204 203 91 / 0.35);
}
Straw
#cccb5b rgb(204, 203, 91) hsl(59, 53%, 58%) Straw
#5b5ccc rgb(91, 92, 204) hsl(239, 53%, 58%) Slate Blue
#5bcccb rgb(91, 204, 203) hsl(179, 53%, 58%) Medium Turquoise
#cb5bcc rgb(203, 91, 204) hsl(299, 53%, 58%) Medium Orchid