#ffec1f ≈ Canary Yellow
#ffec1f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 92.55% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 87.84% yellow and 0% black. Its hue angle is 54.91°, with 100% saturation and 56.08% 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 17.27:1 (WCAG AAA). The closest named color is Canary Yellow (#ffef00), ΔE 1.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8135 |
Shades
#ffec1f mixed progressively with black.
Tints
#ffec1f mixed progressively with white.
Tones
#ffec1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffec1f {
color: #ffec1f;
}
.bg-ffec1f {
background-color: #ffec1f;
color: #000000;
}
.border-ffec1f {
border: 2px solid #ffec1f;
}
:root {
--color-primary: #ffec1f;
--color-primary-rgb: 255 236 31;
--color-primary-hsl: 55 100% 56%;
}
.gradient-ffec1f {
background: linear-gradient(135deg, #ffec1f, #a2ff1f);
}
.shadow-ffec1f {
box-shadow: 0 8px 24px rgb(255 236 31 / 0.35);
}
Canary Yellow
#ffec1f rgb(255, 236, 31) hsl(55, 100%, 56%) Canary Yellow
#1f32ff rgb(31, 50, 255) hsl(235, 100%, 56%) Han Purple
#1fffec rgb(31, 255, 236) hsl(175, 100%, 56%) Turquoise Blue
#ec1fff rgb(236, 31, 255) hsl(295, 100%, 56%) Fuchsia