#ebd704 ≈ Citrine
#ebd704 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 84.31% green and 1.57% blue; printed in CMYK it uses 0% cyan, 8.51% magenta, 98.3% yellow and 7.84% black. Its hue angle is 54.81°, with 96.65% saturation and 46.86% 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 14.25:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.71.
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.6627 |
Shades
#ebd704 mixed progressively with black.
Tints
#ebd704 mixed progressively with white.
Tones
#ebd704 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebd704 {
color: #ebd704;
}
.bg-ebd704 {
background-color: #ebd704;
color: #000000;
}
.border-ebd704 {
border: 2px solid #ebd704;
}
:root {
--color-primary: #ebd704;
--color-primary-rgb: 235 215 4;
--color-primary-hsl: 55 97% 47%;
}
.gradient-ebd704 {
background: linear-gradient(135deg, #ebd704, #8beb04);
}
.shadow-ebd704 {
box-shadow: 0 8px 24px rgb(235 215 4 / 0.35);
}
Citrine
#ebd704 rgb(235, 215, 4) hsl(55, 97%, 47%) Citrine
#0418eb rgb(4, 24, 235) hsl(235, 97%, 47%) Blue
#04ebd7 rgb(4, 235, 215) hsl(175, 97%, 47%) Turquoise
#d704eb rgb(215, 4, 235) hsl(295, 97%, 47%) Electric Purple