#FFFC8A

#fffc8a ≈ Pastel Yellow

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

#fffc8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 98.82% green and 54.12% blue; printed in CMYK it uses 0% cyan, 1.18% magenta, 45.88% yellow and 0% black. Its hue angle is 58.46°, with 100% saturation and 77.06% 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 1.79.

Description generated from the measured properties of this color.

Conversions of #fffc8a 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.9272

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 #faf9d4 ≈ 0.001% of males
Protanopia #fff480 ≈ 1.01% of males
Deuteranopia #fff98f ≈ 1.27% of males
Tritanopia #ffefe1 ≈ 0.0001% of males
Protanomaly #fff784 ≈ 1.08% of males
Deuteranomaly #fffa8d ≈ 4.63% of males
Tritanomaly #fff4c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fffc8a {
  color: #fffc8a;
}
Background
.bg-fffc8a {
  background-color: #fffc8a;
  color: #000000;
}
Border
.border-fffc8a {
  border: 2px solid #fffc8a;
}
CSS variables
:root {
  --color-primary: #fffc8a;
  --color-primary-rgb: 255 252 138;
  --color-primary-hsl: 58 100% 77%;
}
Gradient
.gradient-fffc8a {
  background: linear-gradient(135deg, #fffc8a, #c8ff8a);
}
Colored shadow
.shadow-fffc8a {
  box-shadow: 0 8px 24px rgb(255 252 138 / 0.35);
}

Pastel Yellow
#fffc8a  rgb(255, 252, 138)  hsl(58, 100%, 77%)  Pastel Yellow
#8a8dff  rgb(138, 141, 255)  hsl(238, 100%, 77%)  Cornflower Blue
#8afffc  rgb(138, 255, 252)  hsl(178, 100%, 77%)  Electric Blue
#fc8aff  rgb(252, 138, 255)  hsl(298, 100%, 77%)  Violet