#c2cc3b ≈ Pear
#c2cc3b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 80% green and 23.14% blue; printed in CMYK it uses 4.9% cyan, 0% magenta, 71.08% yellow and 20% black. Its hue angle is 64.14°, with 58.7% saturation and 51.57% 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 11.99:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.44.
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.5497 |
Shades
#c2cc3b mixed progressively with black.
Tints
#c2cc3b mixed progressively with white.
Tones
#c2cc3b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2cc3b {
color: #c2cc3b;
}
.bg-c2cc3b {
background-color: #c2cc3b;
color: #000000;
}
.border-c2cc3b {
border: 2px solid #c2cc3b;
}
:root {
--color-primary: #c2cc3b;
--color-primary-rgb: 194 204 59;
--color-primary-hsl: 64 59% 52%;
}
.gradient-c2cc3b {
background: linear-gradient(135deg, #c2cc3b, #79cc3b);
}
.shadow-c2cc3b {
box-shadow: 0 8px 24px rgb(194 204 59 / 0.35);
}
Pear
#c2cc3b rgb(194, 204, 59) hsl(64, 59%, 52%) Pear
#453bcc rgb(69, 59, 204) hsl(244, 59%, 52%) Ocean Blue
#3bc2cc rgb(59, 194, 204) hsl(184, 59%, 52%) Dark Turquoise
#cc3bc2 rgb(204, 59, 194) hsl(304, 59%, 52%) Medium Orchid