#f5f22c ≈ Lemon
#f5f22c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 94.9% green and 17.25% blue; printed in CMYK it uses 0% cyan, 1.22% magenta, 82.04% yellow and 3.92% black. Its hue angle is 59.1°, with 90.95% saturation and 56.67% 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.62:1 (WCAG AAA). The closest named color is Lemon (#fff700), ΔE 2.28.
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.831 |
Shades
#f5f22c mixed progressively with black.
Tints
#f5f22c mixed progressively with white.
Tones
#f5f22c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5f22c {
color: #f5f22c;
}
.bg-f5f22c {
background-color: #f5f22c;
color: #000000;
}
.border-f5f22c {
border: 2px solid #f5f22c;
}
:root {
--color-primary: #f5f22c;
--color-primary-rgb: 245 242 44;
--color-primary-hsl: 59 91% 57%;
}
.gradient-f5f22c {
background: linear-gradient(135deg, #f5f22c, #94f52c);
}
.shadow-f5f22c {
box-shadow: 0 8px 24px rgb(245 242 44 / 0.35);
}
Lemon
#f5f22c rgb(245, 242, 44) hsl(59, 91%, 57%) Lemon
#2c2ff5 rgb(44, 47, 245) hsl(239, 91%, 57%) Han Purple
#2cf5f2 rgb(44, 245, 242) hsl(179, 91%, 57%) Aqua
#f22cf5 rgb(242, 44, 245) hsl(299, 91%, 57%) Fuchsia