#ebd227 ≈ Citrine
#ebd227 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 82.35% green and 15.29% blue; printed in CMYK it uses 0% cyan, 10.64% magenta, 83.4% yellow and 7.84% black. Its hue angle is 52.35°, with 83.05% saturation and 53.73% 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.78:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.62.
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.639 |
Shades
#ebd227 mixed progressively with black.
Tints
#ebd227 mixed progressively with white.
Tones
#ebd227 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebd227 {
color: #ebd227;
}
.bg-ebd227 {
background-color: #ebd227;
color: #000000;
}
.border-ebd227 {
border: 2px solid #ebd227;
}
:root {
--color-primary: #ebd227;
--color-primary-rgb: 235 210 39;
--color-primary-hsl: 52 83% 54%;
}
.gradient-ebd227 {
background: linear-gradient(135deg, #ebd227, #a2eb27);
}
.shadow-ebd227 {
box-shadow: 0 8px 24px rgb(235 210 39 / 0.35);
}
Citrine
#ebd227 rgb(235, 210, 39) hsl(52, 83%, 54%) Citrine
#2740eb rgb(39, 64, 235) hsl(232, 83%, 54%) Iris
#27ebd2 rgb(39, 235, 210) hsl(172, 83%, 54%) Turquoise
#d227eb rgb(210, 39, 235) hsl(292, 83%, 54%) Electric Purple