#ebcd2b ≈ Citrine
#ebcd2b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 80.39% green and 16.86% blue; printed in CMYK it uses 0% cyan, 12.77% magenta, 81.7% yellow and 7.84% black. Its hue angle is 50.63°, with 82.76% saturation and 54.51% 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.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.89.
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.615 |
Shades
#ebcd2b mixed progressively with black.
Tints
#ebcd2b mixed progressively with white.
Tones
#ebcd2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebcd2b {
color: #ebcd2b;
}
.bg-ebcd2b {
background-color: #ebcd2b;
color: #000000;
}
.border-ebcd2b {
border: 2px solid #ebcd2b;
}
:root {
--color-primary: #ebcd2b;
--color-primary-rgb: 235 205 43;
--color-primary-hsl: 51 83% 55%;
}
.gradient-ebcd2b {
background: linear-gradient(135deg, #ebcd2b, #a9eb2b);
}
.shadow-ebcd2b {
box-shadow: 0 8px 24px rgb(235 205 43 / 0.35);
}
Citrine
#ebcd2b rgb(235, 205, 43) hsl(51, 83%, 55%) Citrine
#2b49eb rgb(43, 73, 235) hsl(231, 83%, 55%) Iris
#2bebcd rgb(43, 235, 205) hsl(171, 83%, 55%) Turquoise
#cd2beb rgb(205, 43, 235) hsl(291, 83%, 55%) Electric Purple