#ebcd0c ≈ Citrine
#ebcd0c 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 4.71% blue; printed in CMYK it uses 0% cyan, 12.77% magenta, 94.89% yellow and 7.84% black. Its hue angle is 51.93°, with 90.28% saturation and 48.43% 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.27:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6135 |
Shades
#ebcd0c mixed progressively with black.
Tints
#ebcd0c mixed progressively with white.
Tones
#ebcd0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebcd0c {
color: #ebcd0c;
}
.bg-ebcd0c {
background-color: #ebcd0c;
color: #000000;
}
.border-ebcd0c {
border: 2px solid #ebcd0c;
}
:root {
--color-primary: #ebcd0c;
--color-primary-rgb: 235 205 12;
--color-primary-hsl: 52 90% 48%;
}
.gradient-ebcd0c {
background: linear-gradient(135deg, #ebcd0c, #99eb0c);
}
.shadow-ebcd0c {
box-shadow: 0 8px 24px rgb(235 205 12 / 0.35);
}
Citrine
#ebcd0c rgb(235, 205, 12) hsl(52, 90%, 48%) Citrine
#0c2aeb rgb(12, 42, 235) hsl(232, 90%, 48%) Blue
#0cebcd rgb(12, 235, 205) hsl(172, 90%, 48%) Turquoise
#cd0ceb rgb(205, 12, 235) hsl(292, 90%, 48%) Electric Purple