#cbcb22 ≈ Citrine
#cbcb22 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 79.61% green and 13.33% blue; printed in CMYK it uses 0% cyan, 0% magenta, 83.25% yellow and 20.39% black. Its hue angle is 60°, with 71.31% saturation and 46.47% 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.1:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.47.
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.5552 |
Shades
#cbcb22 mixed progressively with black.
Tints
#cbcb22 mixed progressively with white.
Tones
#cbcb22 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cbcb22 {
color: #cbcb22;
}
.bg-cbcb22 {
background-color: #cbcb22;
color: #000000;
}
.border-cbcb22 {
border: 2px solid #cbcb22;
}
:root {
--color-primary: #cbcb22;
--color-primary-rgb: 203 203 34;
--color-primary-hsl: 60 71% 46%;
}
.gradient-cbcb22 {
background: linear-gradient(135deg, #cbcb22, #76cb22);
}
.shadow-cbcb22 {
box-shadow: 0 8px 24px rgb(203 203 34 / 0.35);
}
Citrine
#cbcb22 rgb(203, 203, 34) hsl(60, 71%, 46%) Citrine
#2222cb rgb(34, 34, 203) hsl(240, 71%, 46%) Medium Blue
#22cbcb rgb(34, 203, 203) hsl(180, 71%, 46%) Robin Egg Blue
#cb22cb rgb(203, 34, 203) hsl(300, 71%, 46%) Medium Orchid