#e4ec2d ≈ Pear
#e4ec2d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 89.41% red, 92.55% green and 17.65% blue; printed in CMYK it uses 3.39% cyan, 0% magenta, 80.93% yellow and 7.45% black. Its hue angle is 62.51°, with 83.41% saturation and 55.1% 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.33:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.45.
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.7667 |
Shades
#e4ec2d mixed progressively with black.
Tints
#e4ec2d mixed progressively with white.
Tones
#e4ec2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e4ec2d {
color: #e4ec2d;
}
.bg-e4ec2d {
background-color: #e4ec2d;
color: #000000;
}
.border-e4ec2d {
border: 2px solid #e4ec2d;
}
:root {
--color-primary: #e4ec2d;
--color-primary-rgb: 228 236 45;
--color-primary-hsl: 63 83% 55%;
}
.gradient-e4ec2d {
background: linear-gradient(135deg, #e4ec2d, #85ec2d);
}
.shadow-e4ec2d {
box-shadow: 0 8px 24px rgb(228 236 45 / 0.35);
}
Pear
#e4ec2d rgb(228, 236, 45) hsl(63, 83%, 55%) Pear
#352dec rgb(53, 45, 236) hsl(243, 83%, 55%) Han Purple
#2de4ec rgb(45, 228, 236) hsl(183, 83%, 55%) Dark Turquoise
#ec2de4 rgb(236, 45, 228) hsl(303, 83%, 55%) Fuchsia