#e7cb2e ≈ Citrine
#e7cb2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 90.59% red, 79.61% green and 18.04% blue; printed in CMYK it uses 0% cyan, 12.12% magenta, 80.09% yellow and 9.41% black. Its hue angle is 50.92°, with 79.4% saturation and 54.31% 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.98:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.8.
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.599 |
Shades
#e7cb2e mixed progressively with black.
Tints
#e7cb2e mixed progressively with white.
Tones
#e7cb2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e7cb2e {
color: #e7cb2e;
}
.bg-e7cb2e {
background-color: #e7cb2e;
color: #000000;
}
.border-e7cb2e {
border: 2px solid #e7cb2e;
}
:root {
--color-primary: #e7cb2e;
--color-primary-rgb: 231 203 46;
--color-primary-hsl: 51 79% 54%;
}
.gradient-e7cb2e {
background: linear-gradient(135deg, #e7cb2e, #a6e72e);
}
.shadow-e7cb2e {
box-shadow: 0 8px 24px rgb(231 203 46 / 0.35);
}
Citrine
#e7cb2e rgb(231, 203, 46) hsl(51, 79%, 54%) Citrine
#2e4ae7 rgb(46, 74, 231) hsl(231, 79%, 54%) Iris
#2ee7cb rgb(46, 231, 203) hsl(171, 79%, 54%) Turquoise
#cb2ee7 rgb(203, 46, 231) hsl(291, 79%, 54%) Electric Purple