#e2ec0c ≈ Pear
#e2ec0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 92.55% green and 4.71% blue; printed in CMYK it uses 4.24% cyan, 0% magenta, 94.92% yellow and 7.45% black. Its hue angle is 62.68°, with 90.32% saturation and 48.63% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 16.24:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7619 |
Shades
#e2ec0c mixed progressively with black.
Tints
#e2ec0c mixed progressively with white.
Tones
#e2ec0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2ec0c {
color: #e2ec0c;
}
.bg-e2ec0c {
background-color: #e2ec0c;
color: #000000;
}
.border-e2ec0c {
border: 2px solid #e2ec0c;
}
:root {
--color-primary: #e2ec0c;
--color-primary-rgb: 226 236 12;
--color-primary-hsl: 63 90% 49%;
}
.gradient-e2ec0c {
background: linear-gradient(135deg, #e2ec0c, #72ec0c);
}
.shadow-e2ec0c {
box-shadow: 0 8px 24px rgb(226 236 12 / 0.35);
}
Pear
#e2ec0c rgb(226, 236, 12) hsl(63, 90%, 49%) Pear
#160cec rgb(22, 12, 236) hsl(243, 90%, 49%) Blue
#0ce2ec rgb(12, 226, 236) hsl(183, 90%, 49%) Dark Turquoise
#ec0ce2 rgb(236, 12, 226) hsl(303, 90%, 49%) Fuchsia