#cec852 ≈ Straw
#cec852 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.43% green and 32.16% blue; printed in CMYK it uses 0% cyan, 2.91% magenta, 60.19% yellow and 19.22% black. Its hue angle is 57.1°, with 55.86% saturation and 56.47% 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.01:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.81.
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.5504 |
Shades
#cec852 mixed progressively with black.
Tints
#cec852 mixed progressively with white.
Tones
#cec852 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec852 {
color: #cec852;
}
.bg-cec852 {
background-color: #cec852;
color: #000000;
}
.border-cec852 {
border: 2px solid #cec852;
}
:root {
--color-primary: #cec852;
--color-primary-rgb: 206 200 82;
--color-primary-hsl: 57 56% 56%;
}
.gradient-cec852 {
background: linear-gradient(135deg, #cec852, #96ce52);
}
.shadow-cec852 {
box-shadow: 0 8px 24px rgb(206 200 82 / 0.35);
}
Straw
#cec852 rgb(206, 200, 82) hsl(57, 56%, 56%) Straw
#5258ce rgb(82, 88, 206) hsl(237, 56%, 56%) Iris
#52cec8 rgb(82, 206, 200) hsl(177, 56%, 56%) Medium Turquoise
#c852ce rgb(200, 82, 206) hsl(297, 56%, 56%) Medium Orchid