#FBF308

#fbf308 ≈ Cadmium Yellow

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#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.

Conversions of #fbf308 into other color spaces
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 luminance0.8463

Readable text 1.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ededed ≈ 0.003% of males
Achromatomaly #f3efbd ≈ 0.001% of males
Protanopia #ffe900 ≈ 1.01% of males
Deuteranopia #fff030 ≈ 1.27% of males
Tritanopia #ffe2cf ≈ 0.0001% of males
Protanomaly #ffed00 ≈ 1.08% of males
Deuteranomaly #fff125 ≈ 4.63% of males
Tritanomaly #ffe9a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fbf308 {
  color: #fbf308;
}
Background
.bg-fbf308 {
  background-color: #fbf308;
  color: #000000;
}
Border
.border-fbf308 {
  border: 2px solid #fbf308;
}
CSS variables
:root {
  --color-primary: #fbf308;
  --color-primary-rgb: 251 243 8;
  --color-primary-hsl: 58 97% 51%;
}
Gradient
.gradient-fbf308 {
  background: linear-gradient(135deg, #fbf308, #8afb08);
}
Colored shadow
.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