#FFFBAB

#fffbab ≈ Pastel Yellow

  • yellow
  • Lightness: very high
  • Saturation: moderate
  • Warm

#fffbab is a color from the yellow family, with very high lightness and moderate saturation. In the RGB model it is made of 100% red, 98.43% green and 67.06% blue; printed in CMYK it uses 0% cyan, 1.57% magenta, 32.94% yellow and 0% black. Its hue angle is 57.14°, with 100% saturation and 83.53% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 19.64:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.67.

Description generated from the measured properties of this color.

Conversions of #fffbab into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffff99
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.9319

Readable text 1.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f7f7f7 ≈ 0.003% of males
Achromatomaly #faf9dd ≈ 0.001% of males
Protanopia #fff5a5 ≈ 1.01% of males
Deuteranopia #fff9ae ≈ 1.27% of males
Tritanopia #fff1e7 ≈ 0.0001% of males
Protanomaly #fff7a8 ≈ 1.08% of males
Deuteranomaly #fffaad ≈ 4.63% of males
Tritanomaly #fff5d1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fffbab {
  color: #fffbab;
}
Background
.bg-fffbab {
  background-color: #fffbab;
  color: #000000;
}
Border
.border-fffbab {
  border: 2px solid #fffbab;
}
CSS variables
:root {
  --color-primary: #fffbab;
  --color-primary-rgb: 255 251 171;
  --color-primary-hsl: 57 100% 84%;
}
Gradient
.gradient-fffbab {
  background: linear-gradient(135deg, #fffbab, #d9ffab);
}
Colored shadow
.shadow-fffbab {
  box-shadow: 0 8px 24px rgb(255 251 171 / 0.35);
}

Pastel Yellow
#fffbab  rgb(255, 251, 171)  hsl(57, 100%, 84%)  Pastel Yellow
#abafff  rgb(171, 175, 255)  hsl(237, 100%, 84%)  Wild Blue Yonder
#abfffb  rgb(171, 255, 251)  hsl(177, 100%, 84%)  Celeste
#fbabff  rgb(251, 171, 255)  hsl(297, 100%, 84%)  Mauve