#c7dc0c ≈ Pear
#c7dc0c is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 78.04% red, 86.27% green and 4.71% blue; printed in CMYK it uses 9.55% cyan, 0% magenta, 94.55% yellow and 13.73% black. Its hue angle is 66.06°, with 89.66% saturation and 45.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 13.67:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6336 |
Shades
#c7dc0c mixed progressively with black.
Tints
#c7dc0c mixed progressively with white.
Tones
#c7dc0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c7dc0c {
color: #c7dc0c;
}
.bg-c7dc0c {
background-color: #c7dc0c;
color: #000000;
}
.border-c7dc0c {
border: 2px solid #c7dc0c;
}
:root {
--color-primary: #c7dc0c;
--color-primary-rgb: 199 220 12;
--color-primary-hsl: 66 90% 45%;
}
.gradient-c7dc0c {
background: linear-gradient(135deg, #c7dc0c, #5fdc0c);
}
.shadow-c7dc0c {
box-shadow: 0 8px 24px rgb(199 220 12 / 0.35);
}
Pear
#c7dc0c rgb(199, 220, 12) hsl(66, 90%, 45%) Pear
#210cdc rgb(33, 12, 220) hsl(246, 90%, 45%) Medium Blue
#0cc7dc rgb(12, 199, 220) hsl(186, 90%, 45%) Dark Turquoise
#dc0cc7 rgb(220, 12, 199) hsl(306, 90%, 45%) Shocking Pink