#cec754 ≈ Straw
#cec754 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.78% red, 78.04% green and 32.94% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 59.22% yellow and 19.22% black. Its hue angle is 56.56°, with 55.45% saturation and 56.86% 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 11.92:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.83.
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.5461 |
Shades
#cec754 mixed progressively with black.
Tints
#cec754 mixed progressively with white.
Tones
#cec754 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec754 {
color: #cec754;
}
.bg-cec754 {
background-color: #cec754;
color: #000000;
}
.border-cec754 {
border: 2px solid #cec754;
}
:root {
--color-primary: #cec754;
--color-primary-rgb: 206 199 84;
--color-primary-hsl: 57 55% 57%;
}
.gradient-cec754 {
background: linear-gradient(135deg, #cec754, #98ce54);
}
.shadow-cec754 {
box-shadow: 0 8px 24px rgb(206 199 84 / 0.35);
}
Straw
#cec754 rgb(206, 199, 84) hsl(57, 55%, 57%) Straw
#545bce rgb(84, 91, 206) hsl(237, 55%, 57%) Slate Blue
#54cec7 rgb(84, 206, 199) hsl(177, 55%, 57%) Medium Turquoise
#c754ce rgb(199, 84, 206) hsl(297, 55%, 57%) Medium Orchid