#d2ec1c ≈ Pear
#d2ec1c is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 92.55% green and 10.98% blue; printed in CMYK it uses 11.02% cyan, 0% magenta, 88.14% yellow and 7.45% black. Its hue angle is 67.5°, with 84.55% saturation and 51.76% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 15.76:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.66.
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.7378 |
Shades
#d2ec1c mixed progressively with black.
Tints
#d2ec1c mixed progressively with white.
Tones
#d2ec1c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2ec1c {
color: #d2ec1c;
}
.bg-d2ec1c {
background-color: #d2ec1c;
color: #000000;
}
.border-d2ec1c {
border: 2px solid #d2ec1c;
}
:root {
--color-primary: #d2ec1c;
--color-primary-rgb: 210 236 28;
--color-primary-hsl: 68 85% 52%;
}
.gradient-d2ec1c {
background: linear-gradient(135deg, #d2ec1c, #6aec1c);
}
.shadow-d2ec1c {
box-shadow: 0 8px 24px rgb(210 236 28 / 0.35);
}
Pear
#d2ec1c rgb(210, 236, 28) hsl(68, 85%, 52%) Pear
#361cec rgb(54, 28, 236) hsl(248, 85%, 52%) Ultramarine
#1cd2ec rgb(28, 210, 236) hsl(188, 85%, 52%) Dark Turquoise
#ec1cd2 rgb(236, 28, 210) hsl(308, 85%, 52%) Shocking Pink