#ebcd2f ≈ Citrine
#ebcd2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.16% red, 80.39% green and 18.43% blue; printed in CMYK it uses 0% cyan, 12.77% magenta, 80% yellow and 7.84% black. Its hue angle is 50.43°, with 82.46% saturation and 55.29% 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.31:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.02.
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.6153 |
Shades
#ebcd2f mixed progressively with black.
Tints
#ebcd2f mixed progressively with white.
Tones
#ebcd2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebcd2f {
color: #ebcd2f;
}
.bg-ebcd2f {
background-color: #ebcd2f;
color: #000000;
}
.border-ebcd2f {
border: 2px solid #ebcd2f;
}
:root {
--color-primary: #ebcd2f;
--color-primary-rgb: 235 205 47;
--color-primary-hsl: 50 82% 55%;
}
.gradient-ebcd2f {
background: linear-gradient(135deg, #ebcd2f, #abeb2f);
}
.shadow-ebcd2f {
box-shadow: 0 8px 24px rgb(235 205 47 / 0.35);
}
Citrine
#ebcd2f rgb(235, 205, 47) hsl(50, 82%, 55%) Citrine
#2f4deb rgb(47, 77, 235) hsl(230, 82%, 55%) Iris
#2febcd rgb(47, 235, 205) hsl(170, 82%, 55%) Turquoise
#cd2feb rgb(205, 47, 235) hsl(290, 82%, 55%) Electric Purple