#f2b321 ≈ Amber
#f2b321 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 70.2% green and 12.94% blue; printed in CMYK it uses 0% cyan, 26.03% magenta, 86.36% yellow and 5.1% black. Its hue angle is 41.91°, with 88.94% saturation and 53.92% 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 11.25:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 3.72.
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.5123 |
Shades
#f2b321 mixed progressively with black.
Tints
#f2b321 mixed progressively with white.
Tones
#f2b321 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2b321 {
color: #f2b321;
}
.bg-f2b321 {
background-color: #f2b321;
color: #000000;
}
.border-f2b321 {
border: 2px solid #f2b321;
}
:root {
--color-primary: #f2b321;
--color-primary-rgb: 242 179 33;
--color-primary-hsl: 42 89% 54%;
}
.gradient-f2b321 {
background: linear-gradient(135deg, #f2b321, #c9f221);
}
.shadow-f2b321 {
box-shadow: 0 8px 24px rgb(242 179 33 / 0.35);
}
Amber
#f2b321 rgb(242, 179, 33) hsl(42, 89%, 54%) Amber
#2160f2 rgb(33, 96, 242) hsl(222, 89%, 54%) Ultramarine Blue
#21f2b3 rgb(33, 242, 179) hsl(162, 89%, 54%) Medium Spring Green
#b321f2 rgb(179, 33, 242) hsl(282, 89%, 54%) Electric Purple