#e7d221 ≈ Citrine
#e7d221 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 90.59% red, 82.35% green and 12.94% blue; printed in CMYK it uses 0% cyan, 9.09% magenta, 85.71% yellow and 9.41% black. Its hue angle is 53.64°, with 80.49% saturation and 51.76% 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.64:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.83.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6319 |
Shades
#e7d221 mixed progressively with black.
Tints
#e7d221 mixed progressively with white.
Tones
#e7d221 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e7d221 {
color: #e7d221;
}
.bg-e7d221 {
background-color: #e7d221;
color: #000000;
}
.border-e7d221 {
border: 2px solid #e7d221;
}
:root {
--color-primary: #e7d221;
--color-primary-rgb: 231 210 33;
--color-primary-hsl: 54 80% 52%;
}
.gradient-e7d221 {
background: linear-gradient(135deg, #e7d221, #99e721);
}
.shadow-e7d221 {
box-shadow: 0 8px 24px rgb(231 210 33 / 0.35);
}
Citrine
#e7d221 rgb(231, 210, 33) hsl(54, 80%, 52%) Citrine
#2136e7 rgb(33, 54, 231) hsl(234, 80%, 52%) Han Purple
#21e7d2 rgb(33, 231, 210) hsl(174, 80%, 52%) Turquoise
#d221e7 rgb(210, 33, 231) hsl(294, 80%, 52%) Electric Purple