#cfbf02 ≈ Citrine
#cfbf02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 74.9% green and 0.78% blue; printed in CMYK it uses 0% cyan, 7.73% magenta, 99.03% yellow and 18.82% black. Its hue angle is 55.32°, with 98.09% saturation and 40.98% 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 11.11:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.55.
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.5053 |
Shades
#cfbf02 mixed progressively with black.
Tints
#cfbf02 mixed progressively with white.
Tones
#cfbf02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfbf02 {
color: #cfbf02;
}
.bg-cfbf02 {
background-color: #cfbf02;
color: #000000;
}
.border-cfbf02 {
border: 2px solid #cfbf02;
}
:root {
--color-primary: #cfbf02;
--color-primary-rgb: 207 191 2;
--color-primary-hsl: 55 98% 41%;
}
.gradient-cfbf02 {
background: linear-gradient(135deg, #cfbf02, #78cf02);
}
.shadow-cfbf02 {
box-shadow: 0 8px 24px rgb(207 191 2 / 0.35);
}
Citrine
#cfbf02 rgb(207, 191, 2) hsl(55, 98%, 41%) Citrine
#0212cf rgb(2, 18, 207) hsl(235, 98%, 41%) Medium Blue
#02cfbf rgb(2, 207, 191) hsl(175, 98%, 41%) Turquoise
#bf02cf rgb(191, 2, 207) hsl(295, 98%, 41%) Dark Orchid