#FFF8A1

#fff8a1 ≈ Pastel Yellow

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

#fff8a1 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 97.25% green and 63.14% blue; printed in CMYK it uses 0% cyan, 2.75% magenta, 36.86% yellow and 0% black. Its hue angle is 55.53°, with 100% saturation and 81.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 soft pastel palettes. Black text on this color reaches a contrast ratio of 19.19:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.94.

Description generated from the measured properties of this color.

Conversions of #fff8a1 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.9097

Readable text 1.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f5f5f5 ≈ 0.003% of males
Achromatomaly #f9f6d8 ≈ 0.001% of males
Protanopia #fff29b ≈ 1.01% of males
Deuteranopia #fff7a5 ≈ 1.27% of males
Tritanopia #ffede2 ≈ 0.0001% of males
Protanomaly #fff49d ≈ 1.08% of males
Deuteranomaly #fff7a3 ≈ 4.63% of males
Tritanomaly #fff2cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fff8a1  rgb(255, 248, 161)  hsl(56, 100%, 82%)  Pastel Yellow
#a1a8ff  rgb(161, 168, 255)  hsl(236, 100%, 82%)  Wild Blue Yonder
#a1fff8  rgb(161, 255, 248)  hsl(176, 100%, 82%)  Celeste
#f8a1ff  rgb(248, 161, 255)  hsl(296, 100%, 82%)  Mauve