#cec768 ≈ Straw
#cec768 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 40.78% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 49.51% yellow and 19.22% black. Its hue angle is 55.88°, with 51% saturation and 60.78% 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.99:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.78.
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.5497 |
Shades
#cec768 mixed progressively with black.
Tints
#cec768 mixed progressively with white.
Tones
#cec768 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec768 {
color: #cec768;
}
.bg-cec768 {
background-color: #cec768;
color: #000000;
}
.border-cec768 {
border: 2px solid #cec768;
}
:root {
--color-primary: #cec768;
--color-primary-rgb: 206 199 104;
--color-primary-hsl: 56 51% 61%;
}
.gradient-cec768 {
background: linear-gradient(135deg, #cec768, #a2ce68);
}
.shadow-cec768 {
box-shadow: 0 8px 24px rgb(206 199 104 / 0.35);
}
Straw
#cec768 rgb(206, 199, 104) hsl(56, 51%, 61%) Straw
#686fce rgb(104, 111, 206) hsl(236, 51%, 61%) Royal Blue
#68cec7 rgb(104, 206, 199) hsl(176, 51%, 61%) Medium Turquoise
#c768ce rgb(199, 104, 206) hsl(296, 51%, 61%) Orchid