#FFFBA5

#fffba5 ≈ Pastel Yellow

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

#fffba5 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 64.71% blue; printed in CMYK it uses 0% cyan, 1.57% magenta, 35.29% yellow and 0% black. Its hue angle is 57.33°, with 100% saturation and 82.35% 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.59:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #fffba5 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.9297

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

Achromatopsia #f7f7f7 ≈ 0.003% of males
Achromatomaly #faf9db ≈ 0.001% of males
Protanopia #fff59f ≈ 1.01% of males
Deuteranopia #fff9a8 ≈ 1.27% of males
Tritanopia #fff0e5 ≈ 0.0001% of males
Protanomaly #fff7a1 ≈ 1.08% of males
Deuteranomaly #fffaa7 ≈ 4.63% of males
Tritanomaly #fff5cf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fffba5  rgb(255, 251, 165)  hsl(57, 100%, 82%)  Pastel Yellow
#a5a9ff  rgb(165, 169, 255)  hsl(237, 100%, 82%)  Wild Blue Yonder
#a5fffb  rgb(165, 255, 251)  hsl(177, 100%, 82%)  Celeste
#fba5ff  rgb(251, 165, 255)  hsl(297, 100%, 82%)  Mauve