#ecc951 ≈ Saffron
#ecc951 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 78.82% green and 31.76% blue; printed in CMYK it uses 0% cyan, 14.83% magenta, 65.68% yellow and 7.45% black. Its hue angle is 46.45°, with 80.31% saturation and 62.16% 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.04:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 3.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.602 |
Shades
#ecc951 mixed progressively with black.
Tints
#ecc951 mixed progressively with white.
Tones
#ecc951 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecc951 {
color: #ecc951;
}
.bg-ecc951 {
background-color: #ecc951;
color: #000000;
}
.border-ecc951 {
border: 2px solid #ecc951;
}
:root {
--color-primary: #ecc951;
--color-primary-rgb: 236 201 81;
--color-primary-hsl: 46 80% 62%;
}
.gradient-ecc951 {
background: linear-gradient(135deg, #ecc951, #c2ec51);
}
.shadow-ecc951 {
box-shadow: 0 8px 24px rgb(236 201 81 / 0.35);
}
Saffron
#ecc951 rgb(236, 201, 81) hsl(46, 80%, 62%) Saffron
#5174ec rgb(81, 116, 236) hsl(226, 80%, 62%) Royal Blue
#51ecc9 rgb(81, 236, 201) hsl(166, 80%, 62%) Aquamarine
#c951ec rgb(201, 81, 236) hsl(286, 80%, 62%) Medium Orchid