#f2b004 ≈ Amber
#f2b004 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 69.02% green and 1.57% blue; printed in CMYK it uses 0% cyan, 27.27% magenta, 98.35% yellow and 5.1% black. Its hue angle is 43.36°, with 96.75% saturation and 48.24% 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 10.99:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4994 |
Shades
#f2b004 mixed progressively with black.
Tints
#f2b004 mixed progressively with white.
Tones
#f2b004 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2b004 {
color: #f2b004;
}
.bg-f2b004 {
background-color: #f2b004;
color: #000000;
}
.border-f2b004 {
border: 2px solid #f2b004;
}
:root {
--color-primary: #f2b004;
--color-primary-rgb: 242 176 4;
--color-primary-hsl: 43 97% 48%;
}
.gradient-f2b004 {
background: linear-gradient(135deg, #f2b004, #bdf204);
}
.shadow-f2b004 {
box-shadow: 0 8px 24px rgb(242 176 4 / 0.35);
}
Amber
#f2b004 rgb(242, 176, 4) hsl(43, 97%, 48%) Amber
#0446f2 rgb(4, 70, 242) hsl(223, 97%, 48%) Iris
#04f2b0 rgb(4, 242, 176) hsl(163, 97%, 48%) Medium Spring Green
#b004f2 rgb(176, 4, 242) hsl(283, 97%, 48%) Vivid Violet