#ccc951 ≈ Straw
#ccc951 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80% red, 78.82% green and 31.76% blue; printed in CMYK it uses 0% cyan, 1.47% magenta, 60.29% yellow and 20% black. Its hue angle is 58.54°, with 54.67% saturation and 55.88% 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.04:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.02.
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.552 |
Shades
#ccc951 mixed progressively with black.
Tints
#ccc951 mixed progressively with white.
Tones
#ccc951 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc951 {
color: #ccc951;
}
.bg-ccc951 {
background-color: #ccc951;
color: #000000;
}
.border-ccc951 {
border: 2px solid #ccc951;
}
:root {
--color-primary: #ccc951;
--color-primary-rgb: 204 201 81;
--color-primary-hsl: 59 55% 56%;
}
.gradient-ccc951 {
background: linear-gradient(135deg, #ccc951, #91cc51);
}
.shadow-ccc951 {
box-shadow: 0 8px 24px rgb(204 201 81 / 0.35);
}
Straw
#ccc951 rgb(204, 201, 81) hsl(59, 55%, 56%) Straw
#5154cc rgb(81, 84, 204) hsl(239, 55%, 56%) Iris
#51ccc9 rgb(81, 204, 201) hsl(179, 55%, 56%) Medium Turquoise
#c951cc rgb(201, 81, 204) hsl(299, 55%, 56%) Medium Orchid