#c2cc31 ≈ Pear
#c2cc31 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 19.22% blue; printed in CMYK it uses 4.9% cyan, 0% magenta, 75.98% yellow and 20% black. Its hue angle is 63.87°, with 61.26% saturation and 49.61% 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.98:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.22.
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.5488 |
Shades
#c2cc31 mixed progressively with black.
Tints
#c2cc31 mixed progressively with white.
Tones
#c2cc31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2cc31 {
color: #c2cc31;
}
.bg-c2cc31 {
background-color: #c2cc31;
color: #000000;
}
.border-c2cc31 {
border: 2px solid #c2cc31;
}
:root {
--color-primary: #c2cc31;
--color-primary-rgb: 194 204 49;
--color-primary-hsl: 64 61% 50%;
}
.gradient-c2cc31 {
background: linear-gradient(135deg, #c2cc31, #75cc31);
}
.shadow-c2cc31 {
box-shadow: 0 8px 24px rgb(194 204 49 / 0.35);
}
Pear
#c2cc31 rgb(194, 204, 49) hsl(64, 61%, 50%) Pear
#3b31cc rgb(59, 49, 204) hsl(244, 61%, 50%) Persian Blue
#31c2cc rgb(49, 194, 204) hsl(184, 61%, 50%) Dark Turquoise
#cc31c2 rgb(204, 49, 194) hsl(304, 61%, 50%) Medium Orchid