#fbbf2a ≈ Amber
#fbbf2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.43% red, 74.9% green and 16.47% blue; printed in CMYK it uses 0% cyan, 23.9% magenta, 83.27% yellow and 1.57% black. Its hue angle is 42.78°, with 96.31% saturation and 57.45% 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.59:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.63.
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.5794 |
Shades
#fbbf2a mixed progressively with black.
Tints
#fbbf2a mixed progressively with white.
Tones
#fbbf2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbbf2a {
color: #fbbf2a;
}
.bg-fbbf2a {
background-color: #fbbf2a;
color: #000000;
}
.border-fbbf2a {
border: 2px solid #fbbf2a;
}
:root {
--color-primary: #fbbf2a;
--color-primary-rgb: 251 191 42;
--color-primary-hsl: 43 96% 57%;
}
.gradient-fbbf2a {
background: linear-gradient(135deg, #fbbf2a, #cefb2a);
}
.shadow-fbbf2a {
box-shadow: 0 8px 24px rgb(251 191 42 / 0.35);
}
Amber
#fbbf2a rgb(251, 191, 42) hsl(43, 96%, 57%) Amber
#2a66fb rgb(42, 102, 251) hsl(223, 96%, 57%) Ultramarine Blue
#2afbbf rgb(42, 251, 191) hsl(163, 96%, 57%) Aquamarine
#bf2afb rgb(191, 42, 251) hsl(283, 96%, 57%) Electric Purple