#fabb2f ≈ Amber
#fabb2f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.04% red, 73.33% green and 18.43% blue; printed in CMYK it uses 0% cyan, 25.2% magenta, 81.2% yellow and 1.96% black. Its hue angle is 41.38°, with 95.31% saturation and 58.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 12.21:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 2.6.
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.5607 |
Shades
#fabb2f mixed progressively with black.
Tints
#fabb2f mixed progressively with white.
Tones
#fabb2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fabb2f {
color: #fabb2f;
}
.bg-fabb2f {
background-color: #fabb2f;
color: #000000;
}
.border-fabb2f {
border: 2px solid #fabb2f;
}
:root {
--color-primary: #fabb2f;
--color-primary-rgb: 250 187 47;
--color-primary-hsl: 41 95% 58%;
}
.gradient-fabb2f {
background: linear-gradient(135deg, #fabb2f, #d4fa2f);
}
.shadow-fabb2f {
box-shadow: 0 8px 24px rgb(250 187 47 / 0.35);
}
Amber
#fabb2f rgb(250, 187, 47) hsl(41, 95%, 58%) Amber
#2f6efa rgb(47, 110, 250) hsl(221, 95%, 58%) Brandeis Blue
#2ffabb rgb(47, 250, 187) hsl(161, 95%, 58%) Aquamarine
#bb2ffa rgb(187, 47, 250) hsl(281, 95%, 58%) Electric Purple