#cdec2f ≈ Pear
#cdec2f is a color from the yellow-green family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 92.55% green and 18.43% blue; printed in CMYK it uses 13.14% cyan, 0% magenta, 80.08% yellow and 7.45% black. Its hue angle is 69.84°, with 83.26% saturation and 55.49% 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.64:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.02.
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.7318 |
Shades
#cdec2f mixed progressively with black.
Tints
#cdec2f mixed progressively with white.
Tones
#cdec2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdec2f {
color: #cdec2f;
}
.bg-cdec2f {
background-color: #cdec2f;
color: #000000;
}
.border-cdec2f {
border: 2px solid #cdec2f;
}
:root {
--color-primary: #cdec2f;
--color-primary-rgb: 205 236 47;
--color-primary-hsl: 70 83% 55%;
}
.gradient-cdec2f {
background: linear-gradient(135deg, #cdec2f, #6fec2f);
}
.shadow-cdec2f {
box-shadow: 0 8px 24px rgb(205 236 47 / 0.35);
}
Pear
#cdec2f rgb(205, 236, 47) hsl(70, 83%, 55%) Pear
#4e2fec rgb(78, 47, 236) hsl(250, 83%, 55%) Han Purple
#2fcdec rgb(47, 205, 236) hsl(190, 83%, 55%) Sky Blue
#ec2fcd rgb(236, 47, 205) hsl(310, 83%, 55%) Shocking Pink