#c7d12e ≈ Pear
#c7d12e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.04% red, 81.96% green and 18.04% blue; printed in CMYK it uses 4.78% cyan, 0% magenta, 77.99% yellow and 18.04% black. Its hue angle is 63.68°, with 63.92% saturation and 50% 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 brand accents. Black text on this color reaches a contrast ratio of 12.59:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5794 |
Shades
#c7d12e mixed progressively with black.
Tints
#c7d12e mixed progressively with white.
Tones
#c7d12e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c7d12e {
color: #c7d12e;
}
.bg-c7d12e {
background-color: #c7d12e;
color: #000000;
}
.border-c7d12e {
border: 2px solid #c7d12e;
}
:root {
--color-primary: #c7d12e;
--color-primary-rgb: 199 209 46;
--color-primary-hsl: 64 64% 50%;
}
.gradient-c7d12e {
background: linear-gradient(135deg, #c7d12e, #76d12e);
}
.shadow-c7d12e {
box-shadow: 0 8px 24px rgb(199 209 46 / 0.35);
}
Pear
#c7d12e rgb(199, 209, 46) hsl(64, 64%, 50%) Pear
#382ed1 rgb(56, 46, 209) hsl(244, 64%, 50%) Persian Blue
#2ec7d1 rgb(46, 199, 209) hsl(184, 64%, 50%) Dark Turquoise
#d12ec7 rgb(209, 46, 199) hsl(304, 64%, 50%) Medium Orchid