#cdec02 ≈ Pear
#cdec02 is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 92.55% green and 0.78% blue; printed in CMYK it uses 13.14% cyan, 0% magenta, 99.15% yellow and 7.45% black. Its hue angle is 67.95°, with 98.32% saturation and 46.67% 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.59:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.22.
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.7297 |
Shades
#cdec02 mixed progressively with black.
Tints
#cdec02 mixed progressively with white.
Tones
#cdec02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdec02 {
color: #cdec02;
}
.bg-cdec02 {
background-color: #cdec02;
color: #000000;
}
.border-cdec02 {
border: 2px solid #cdec02;
}
:root {
--color-primary: #cdec02;
--color-primary-rgb: 205 236 2;
--color-primary-hsl: 68 98% 47%;
}
.gradient-cdec02 {
background: linear-gradient(135deg, #cdec02, #58ec02);
}
.shadow-cdec02 {
box-shadow: 0 8px 24px rgb(205 236 2 / 0.35);
}
Pear
#cdec02 rgb(205, 236, 2) hsl(68, 98%, 47%) Pear
#2102ec rgb(33, 2, 236) hsl(248, 98%, 47%) Blue
#02cdec rgb(2, 205, 236) hsl(188, 98%, 47%) Sky Blue
#ec02cd rgb(236, 2, 205) hsl(308, 98%, 47%) Shocking Pink