#ced31f ≈ Pear
#ced31f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 82.75% green and 12.16% blue; printed in CMYK it uses 2.37% cyan, 0% magenta, 85.31% yellow and 17.25% black. Its hue angle is 61.67°, with 74.38% saturation and 47.45% 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.96:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.96.
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.5981 |
Shades
#ced31f mixed progressively with black.
Tints
#ced31f mixed progressively with white.
Tones
#ced31f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ced31f {
color: #ced31f;
}
.bg-ced31f {
background-color: #ced31f;
color: #000000;
}
.border-ced31f {
border: 2px solid #ced31f;
}
:root {
--color-primary: #ced31f;
--color-primary-rgb: 206 211 31;
--color-primary-hsl: 62 74% 47%;
}
.gradient-ced31f {
background: linear-gradient(135deg, #ced31f, #74d31f);
}
.shadow-ced31f {
box-shadow: 0 8px 24px rgb(206 211 31 / 0.35);
}
Pear
#ced31f rgb(206, 211, 31) hsl(62, 74%, 47%) Pear
#241fd3 rgb(36, 31, 211) hsl(242, 74%, 47%) Medium Blue
#1fced3 rgb(31, 206, 211) hsl(182, 74%, 47%) Dark Turquoise
#d31fce rgb(211, 31, 206) hsl(302, 74%, 47%) Medium Orchid