#fbfa0c ≈ Yellow
#fbfa0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.43% red, 98.04% green and 4.71% blue; printed in CMYK it uses 0% cyan, 0.4% magenta, 95.22% yellow and 1.57% black. Its hue angle is 59.75°, 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 18.78:1 (WCAG AAA). The closest named color is Yellow (#ffff00), ΔE 1.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8891 |
Shades
#fbfa0c mixed progressively with black.
Tints
#fbfa0c mixed progressively with white.
Tones
#fbfa0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbfa0c {
color: #fbfa0c;
}
.bg-fbfa0c {
background-color: #fbfa0c;
color: #000000;
}
.border-fbfa0c {
border: 2px solid #fbfa0c;
}
:root {
--color-primary: #fbfa0c;
--color-primary-rgb: 251 250 12;
--color-primary-hsl: 60 97% 52%;
}
.gradient-fbfa0c {
background: linear-gradient(135deg, #fbfa0c, #84fb0c);
}
.shadow-fbfa0c {
box-shadow: 0 8px 24px rgb(251 250 12 / 0.35);
}
Yellow
#fbfa0c rgb(251, 250, 12) hsl(60, 97%, 52%) Yellow
#0c0dfb rgb(12, 13, 251) hsl(240, 97%, 52%) Blue
#0cfbfa rgb(12, 251, 250) hsl(180, 97%, 52%) Aqua
#fa0cfb rgb(250, 12, 251) hsl(300, 97%, 52%) Fuchsia