#e7ca1c ≈ Citrine
#e7ca1c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 90.59% red, 79.22% green and 10.98% blue; printed in CMYK it uses 0% cyan, 12.55% magenta, 87.88% yellow and 9.41% black. Its hue angle is 51.43°, with 80.88% saturation and 50.78% 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 12.86:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.63.
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.5931 |
Shades
#e7ca1c mixed progressively with black.
Tints
#e7ca1c mixed progressively with white.
Tones
#e7ca1c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e7ca1c {
color: #e7ca1c;
}
.bg-e7ca1c {
background-color: #e7ca1c;
color: #000000;
}
.border-e7ca1c {
border: 2px solid #e7ca1c;
}
:root {
--color-primary: #e7ca1c;
--color-primary-rgb: 231 202 28;
--color-primary-hsl: 51 81% 51%;
}
.gradient-e7ca1c {
background: linear-gradient(135deg, #e7ca1c, #9ee71c);
}
.shadow-e7ca1c {
box-shadow: 0 8px 24px rgb(231 202 28 / 0.35);
}
Citrine
#e7ca1c rgb(231, 202, 28) hsl(51, 81%, 51%) Citrine
#1c39e7 rgb(28, 57, 231) hsl(231, 81%, 51%) Persian Blue
#1ce7ca rgb(28, 231, 202) hsl(171, 81%, 51%) Turquoise
#ca1ce7 rgb(202, 28, 231) hsl(291, 81%, 51%) Electric Purple