#fbb40c ≈ Amber
#fbb40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.43% red, 70.59% green and 4.71% blue; printed in CMYK it uses 0% cyan, 28.29% magenta, 95.22% yellow and 1.57% black. Its hue angle is 42.18°, with 96.76% saturation and 51.57% 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.64:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 3.47.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5318 |
Shades
#fbb40c mixed progressively with black.
Tints
#fbb40c mixed progressively with white.
Tones
#fbb40c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbb40c {
color: #fbb40c;
}
.bg-fbb40c {
background-color: #fbb40c;
color: #000000;
}
.border-fbb40c {
border: 2px solid #fbb40c;
}
:root {
--color-primary: #fbb40c;
--color-primary-rgb: 251 180 12;
--color-primary-hsl: 42 97% 52%;
}
.gradient-fbb40c {
background: linear-gradient(135deg, #fbb40c, #cafb0c);
}
.shadow-fbb40c {
box-shadow: 0 8px 24px rgb(251 180 12 / 0.35);
}
Amber
#fbb40c rgb(251, 180, 12) hsl(42, 97%, 52%) Amber
#0c53fb rgb(12, 83, 251) hsl(222, 97%, 52%) Ultramarine Blue
#0cfbb4 rgb(12, 251, 180) hsl(162, 97%, 52%) Medium Spring Green
#b40cfb rgb(180, 12, 251) hsl(282, 97%, 52%) Electric Purple