#ebd31f ≈ Citrine
#ebd31f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 82.75% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.21% magenta, 86.81% yellow and 7.84% black. Its hue angle is 52.94°, with 83.61% saturation and 52.16% 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.87:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.35.
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.6435 |
Shades
#ebd31f mixed progressively with black.
Tints
#ebd31f mixed progressively with white.
Tones
#ebd31f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebd31f {
color: #ebd31f;
}
.bg-ebd31f {
background-color: #ebd31f;
color: #000000;
}
.border-ebd31f {
border: 2px solid #ebd31f;
}
:root {
--color-primary: #ebd31f;
--color-primary-rgb: 235 211 31;
--color-primary-hsl: 53 84% 52%;
}
.gradient-ebd31f {
background: linear-gradient(135deg, #ebd31f, #9deb1f);
}
.shadow-ebd31f {
box-shadow: 0 8px 24px rgb(235 211 31 / 0.35);
}
Citrine
#ebd31f rgb(235, 211, 31) hsl(53, 84%, 52%) Citrine
#1f37eb rgb(31, 55, 235) hsl(233, 84%, 52%) Han Purple
#1febd3 rgb(31, 235, 211) hsl(173, 84%, 52%) Turquoise
#d31feb rgb(211, 31, 235) hsl(293, 84%, 52%) Electric Purple