#cfc021 ≈ Citrine
#cfc021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 7.25% magenta, 84.06% yellow and 18.82% black. Its hue angle is 54.83°, with 72.5% saturation and 47.06% 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 11.21:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.71.
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.5107 |
Shades
#cfc021 mixed progressively with black.
Tints
#cfc021 mixed progressively with white.
Tones
#cfc021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfc021 {
color: #cfc021;
}
.bg-cfc021 {
background-color: #cfc021;
color: #000000;
}
.border-cfc021 {
border: 2px solid #cfc021;
}
:root {
--color-primary: #cfc021;
--color-primary-rgb: 207 192 33;
--color-primary-hsl: 55 73% 47%;
}
.gradient-cfc021 {
background: linear-gradient(135deg, #cfc021, #87cf21);
}
.shadow-cfc021 {
box-shadow: 0 8px 24px rgb(207 192 33 / 0.35);
}
Citrine
#cfc021 rgb(207, 192, 33) hsl(55, 73%, 47%) Citrine
#2130cf rgb(33, 48, 207) hsl(235, 73%, 47%) Persian Blue
#21cfc0 rgb(33, 207, 192) hsl(175, 73%, 47%) Medium Turquoise
#c021cf rgb(192, 33, 207) hsl(295, 73%, 47%) Electric Purple