#cec765 ≈ Straw
#cec765 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 39.61% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 50.97% yellow and 19.22% black. Its hue angle is 56°, with 51.72% saturation and 60.2% 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.98:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.69.
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.5491 |
Shades
#cec765 mixed progressively with black.
Tints
#cec765 mixed progressively with white.
Tones
#cec765 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec765 {
color: #cec765;
}
.bg-cec765 {
background-color: #cec765;
color: #000000;
}
.border-cec765 {
border: 2px solid #cec765;
}
:root {
--color-primary: #cec765;
--color-primary-rgb: 206 199 101;
--color-primary-hsl: 56 52% 60%;
}
.gradient-cec765 {
background: linear-gradient(135deg, #cec765, #a1ce65);
}
.shadow-cec765 {
box-shadow: 0 8px 24px rgb(206 199 101 / 0.35);
}
Straw
#cec765 rgb(206, 199, 101) hsl(56, 52%, 60%) Straw
#656cce rgb(101, 108, 206) hsl(236, 52%, 60%) Royal Blue
#65cec7 rgb(101, 206, 199) hsl(176, 52%, 60%) Medium Turquoise
#c765ce rgb(199, 101, 206) hsl(296, 52%, 60%) Orchid