#fbf308 ≈ Cadmium Yellow
#fbf308 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.43% red, 95.29% green and 3.14% blue; printed in CMYK it uses 0% cyan, 3.19% magenta, 96.81% yellow and 1.57% black. Its hue angle is 58.02°, with 96.81% saturation and 50.78% 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 17.93:1 (WCAG AAA). The closest named color is Cadmium Yellow (#fff600), ΔE 0.74.
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.8463 |
Shades
#fbf308 mixed progressively with black.
Tints
#fbf308 mixed progressively with white.
Tones
#fbf308 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbf308 {
color: #fbf308;
}
.bg-fbf308 {
background-color: #fbf308;
color: #000000;
}
.border-fbf308 {
border: 2px solid #fbf308;
}
:root {
--color-primary: #fbf308;
--color-primary-rgb: 251 243 8;
--color-primary-hsl: 58 97% 51%;
}
.gradient-fbf308 {
background: linear-gradient(135deg, #fbf308, #8afb08);
}
.shadow-fbf308 {
box-shadow: 0 8px 24px rgb(251 243 8 / 0.35);
}
Cadmium Yellow
#fbf308 rgb(251, 243, 8) hsl(58, 97%, 51%) Cadmium Yellow
#0810fb rgb(8, 16, 251) hsl(238, 97%, 51%) Blue
#08fbf3 rgb(8, 251, 243) hsl(178, 97%, 51%) Turquoise Blue
#f308fb rgb(243, 8, 251) hsl(298, 97%, 51%) Fuchsia