#cbd802 ≈ Pear
#cbd802 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 84.71% green and 0.78% blue; printed in CMYK it uses 6.02% cyan, 0% magenta, 99.07% yellow and 15.29% black. Its hue angle is 63.64°, with 98.17% saturation and 42.75% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.36:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.72.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6181 |
Shades
#cbd802 mixed progressively with black.
Tints
#cbd802 mixed progressively with white.
Tones
#cbd802 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cbd802 {
color: #cbd802;
}
.bg-cbd802 {
background-color: #cbd802;
color: #000000;
}
.border-cbd802 {
border: 2px solid #cbd802;
}
:root {
--color-primary: #cbd802;
--color-primary-rgb: 203 216 2;
--color-primary-hsl: 64 98% 43%;
}
.gradient-cbd802 {
background: linear-gradient(135deg, #cbd802, #60d802);
}
.shadow-cbd802 {
box-shadow: 0 8px 24px rgb(203 216 2 / 0.35);
}
Pear
#cbd802 rgb(203, 216, 2) hsl(64, 98%, 43%) Pear
#0f02d8 rgb(15, 2, 216) hsl(244, 98%, 43%) Medium Blue
#02cbd8 rgb(2, 203, 216) hsl(184, 98%, 43%) Dark Turquoise
#d802cb rgb(216, 2, 203) hsl(304, 98%, 43%) Medium Orchid