#e2ef42 ≈ Pear
#e2ef42 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 93.73% green and 25.88% blue; printed in CMYK it uses 5.44% cyan, 0% magenta, 72.38% yellow and 6.27% black. Its hue angle is 64.51°, with 84.39% saturation and 59.8% 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.66:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.783 |
Shades
#e2ef42 mixed progressively with black.
Tints
#e2ef42 mixed progressively with white.
Tones
#e2ef42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2ef42 {
color: #e2ef42;
}
.bg-e2ef42 {
background-color: #e2ef42;
color: #000000;
}
.border-e2ef42 {
border: 2px solid #e2ef42;
}
:root {
--color-primary: #e2ef42;
--color-primary-rgb: 226 239 66;
--color-primary-hsl: 65 84% 60%;
}
.gradient-e2ef42 {
background: linear-gradient(135deg, #e2ef42, #8bef42);
}
.shadow-e2ef42 {
box-shadow: 0 8px 24px rgb(226 239 66 / 0.35);
}
Pear
#e2ef42 rgb(226, 239, 66) hsl(65, 84%, 60%) Pear
#4f42ef rgb(79, 66, 239) hsl(245, 84%, 60%) Majorelle Blue
#42e2ef rgb(66, 226, 239) hsl(185, 84%, 60%) Electric Blue
#ef42e2 rgb(239, 66, 226) hsl(305, 84%, 60%) Fuchsia