#eec240 ≈ Saffron
#eec240 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 93.33% red, 76.08% green and 25.1% blue; printed in CMYK it uses 0% cyan, 18.49% magenta, 73.11% yellow and 6.67% black. Its hue angle is 44.83°, with 83.65% saturation and 59.22% 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 12.43:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.75.
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.5713 |
Shades
#eec240 mixed progressively with black.
Tints
#eec240 mixed progressively with white.
Tones
#eec240 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-eec240 {
color: #eec240;
}
.bg-eec240 {
background-color: #eec240;
color: #000000;
}
.border-eec240 {
border: 2px solid #eec240;
}
:root {
--color-primary: #eec240;
--color-primary-rgb: 238 194 64;
--color-primary-hsl: 45 84% 59%;
}
.gradient-eec240 {
background: linear-gradient(135deg, #eec240, #c3ee40);
}
.shadow-eec240 {
box-shadow: 0 8px 24px rgb(238 194 64 / 0.35);
}
Saffron
#eec240 rgb(238, 194, 64) hsl(45, 84%, 59%) Saffron
#406cee rgb(64, 108, 238) hsl(225, 84%, 59%) Royal Blue
#40eec2 rgb(64, 238, 194) hsl(165, 84%, 59%) Aquamarine
#c240ee rgb(194, 64, 238) hsl(285, 84%, 59%) Medium Orchid