#cfd31e ≈ Pear
#cfd31e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 82.75% green and 11.76% blue; printed in CMYK it uses 1.9% cyan, 0% magenta, 85.78% yellow and 17.25% black. Its hue angle is 61.33°, with 75.1% saturation and 47.25% 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.99:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.08.
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.5995 |
Shades
#cfd31e mixed progressively with black.
Tints
#cfd31e mixed progressively with white.
Tones
#cfd31e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd31e {
color: #cfd31e;
}
.bg-cfd31e {
background-color: #cfd31e;
color: #000000;
}
.border-cfd31e {
border: 2px solid #cfd31e;
}
:root {
--color-primary: #cfd31e;
--color-primary-rgb: 207 211 30;
--color-primary-hsl: 61 75% 47%;
}
.gradient-cfd31e {
background: linear-gradient(135deg, #cfd31e, #74d31e);
}
.shadow-cfd31e {
box-shadow: 0 8px 24px rgb(207 211 30 / 0.35);
}
Pear
#cfd31e rgb(207, 211, 30) hsl(61, 75%, 47%) Pear
#221ed3 rgb(34, 30, 211) hsl(241, 75%, 47%) Medium Blue
#1ecfd3 rgb(30, 207, 211) hsl(181, 75%, 47%) Dark Turquoise
#d31ecf rgb(211, 30, 207) hsl(301, 75%, 47%) Medium Orchid