#ecd438 ≈ Citrine
#ecd438 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 83.14% green and 21.96% blue; printed in CMYK it uses 0% cyan, 10.17% magenta, 76.27% yellow and 7.45% black. Its hue angle is 52°, with 82.57% saturation and 57.25% 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.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.32.
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.6521 |
Shades
#ecd438 mixed progressively with black.
Tints
#ecd438 mixed progressively with white.
Tones
#ecd438 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd438 {
color: #ecd438;
}
.bg-ecd438 {
background-color: #ecd438;
color: #000000;
}
.border-ecd438 {
border: 2px solid #ecd438;
}
:root {
--color-primary: #ecd438;
--color-primary-rgb: 236 212 56;
--color-primary-hsl: 52 83% 57%;
}
.gradient-ecd438 {
background: linear-gradient(135deg, #ecd438, #aaec38);
}
.shadow-ecd438 {
box-shadow: 0 8px 24px rgb(236 212 56 / 0.35);
}
Citrine
#ecd438 rgb(236, 212, 56) hsl(52, 83%, 57%) Citrine
#3850ec rgb(56, 80, 236) hsl(232, 83%, 57%) Majorelle Blue
#38ecd4 rgb(56, 236, 212) hsl(172, 83%, 57%) Turquoise
#d438ec rgb(212, 56, 236) hsl(292, 83%, 57%) Medium Orchid