#F8FE8A

#f8fe8a ≈ Pastel Yellow

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

#f8fe8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 99.61% green and 54.12% blue; printed in CMYK it uses 2.36% cyan, 0% magenta, 45.67% yellow and 0.39% black. Its hue angle is 63.1°, with 98.31% saturation and 76.86% 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.54:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.09.

Description generated from the measured properties of this color.

Conversions of #f8fe8a 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.9268

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

Achromatopsia #f7f7f7 ≈ 0.003% of males
Achromatomaly #f7fad4 ≈ 0.001% of males
Protanopia #fff580 ≈ 1.01% of males
Deuteranopia #fff890 ≈ 1.27% of males
Tritanopia #fff2e3 ≈ 0.0001% of males
Protanomaly #fff984 ≈ 1.08% of males
Deuteranomaly #fffb8d ≈ 4.63% of males
Tritanomaly #fff7c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8fe8a {
  color: #f8fe8a;
}
Background
.bg-f8fe8a {
  background-color: #f8fe8a;
  color: #000000;
}
Border
.border-f8fe8a {
  border: 2px solid #f8fe8a;
}
CSS variables
:root {
  --color-primary: #f8fe8a;
  --color-primary-rgb: 248 254 138;
  --color-primary-hsl: 63 98% 77%;
}
Gradient
.gradient-f8fe8a {
  background: linear-gradient(135deg, #f8fe8a, #befe8a);
}
Colored shadow
.shadow-f8fe8a {
  box-shadow: 0 8px 24px rgb(248 254 138 / 0.35);
}

Pastel Yellow
#f8fe8a  rgb(248, 254, 138)  hsl(63, 98%, 77%)  Pastel Yellow
#908afe  rgb(144, 138, 254)  hsl(243, 98%, 77%)  Medium Purple
#8af8fe  rgb(138, 248, 254)  hsl(183, 98%, 77%)  Electric Blue
#fe8af8  rgb(254, 138, 248)  hsl(303, 98%, 77%)  Violet