#F8FA8A

#f8fa8a ≈ Pastel Yellow

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

#f8fa8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 98.04% green and 54.12% blue; printed in CMYK it uses 0.8% cyan, 0% magenta, 44.8% yellow and 1.96% black. Its hue angle is 61.07°, with 91.8% saturation and 76.08% 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.03:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.5.

Description generated from the measured properties of this color.

Conversions of #f8fa8a 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.9016

Readable text 1.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f5f6d2 ≈ 0.001% of males
Protanopia #fff281 ≈ 1.01% of males
Deuteranopia #fff68f ≈ 1.27% of males
Tritanopia #ffeee0 ≈ 0.0001% of males
Protanomaly #fff584 ≈ 1.08% of males
Deuteranomaly #fff78d ≈ 4.63% of males
Tritanomaly #fff3c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8fa8a {
  color: #f8fa8a;
}
Background
.bg-f8fa8a {
  background-color: #f8fa8a;
  color: #000000;
}
Border
.border-f8fa8a {
  border: 2px solid #f8fa8a;
}
CSS variables
:root {
  --color-primary: #f8fa8a;
  --color-primary-rgb: 248 250 138;
  --color-primary-hsl: 61 92% 76%;
}
Gradient
.gradient-f8fa8a {
  background: linear-gradient(135deg, #f8fa8a, #c0fa8a);
}
Colored shadow
.shadow-f8fa8a {
  box-shadow: 0 8px 24px rgb(248 250 138 / 0.35);
}

Pastel Yellow
#f8fa8a  rgb(248, 250, 138)  hsl(61, 92%, 76%)  Pastel Yellow
#8c8afa  rgb(140, 138, 250)  hsl(241, 92%, 76%)  Medium Purple
#8af8fa  rgb(138, 248, 250)  hsl(181, 92%, 76%)  Electric Blue
#fa8af8  rgb(250, 138, 248)  hsl(301, 92%, 76%)  Violet