#ebcd28 ≈ Citrine
#ebcd28 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 15.69% blue; printed in CMYK it uses 0% cyan, 12.77% magenta, 82.98% yellow and 7.84% black. Its hue angle is 50.77°, with 82.98% saturation and 53.92% 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.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.6148 |
Shades
#ebcd28 mixed progressively with black.
Tints
#ebcd28 mixed progressively with white.
Tones
#ebcd28 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebcd28 {
color: #ebcd28;
}
.bg-ebcd28 {
background-color: #ebcd28;
color: #000000;
}
.border-ebcd28 {
border: 2px solid #ebcd28;
}
:root {
--color-primary: #ebcd28;
--color-primary-rgb: 235 205 40;
--color-primary-hsl: 51 83% 54%;
}
.gradient-ebcd28 {
background: linear-gradient(135deg, #ebcd28, #a7eb28);
}
.shadow-ebcd28 {
box-shadow: 0 8px 24px rgb(235 205 40 / 0.35);
}
Citrine
#ebcd28 rgb(235, 205, 40) hsl(51, 83%, 54%) Citrine
#2846eb rgb(40, 70, 235) hsl(231, 83%, 54%) Iris
#28ebcd rgb(40, 235, 205) hsl(171, 83%, 54%) Turquoise
#cd28eb rgb(205, 40, 235) hsl(291, 83%, 54%) Electric Purple