#FFFC9F

#fffc9f ≈ Pastel Yellow

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

#fffc9f 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 62.35% blue; printed in CMYK it uses 0% cyan, 1.18% magenta, 37.65% yellow and 0% black. Its hue angle is 58.13°, with 100% saturation and 81.18% 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.68:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.59.

Description generated from the measured properties of this color.

Conversions of #fffc9f 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.9338

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

Achromatopsia #f7f7f7 ≈ 0.003% of males
Achromatomaly #faf9da ≈ 0.001% of males
Protanopia #fff598 ≈ 1.01% of males
Deuteranopia #fff9a3 ≈ 1.27% of males
Tritanopia #fff1e5 ≈ 0.0001% of males
Protanomaly #fff89b ≈ 1.08% of males
Deuteranomaly #fffaa1 ≈ 4.63% of males
Tritanomaly #fff5cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fffc9f  rgb(255, 252, 159)  hsl(58, 100%, 81%)  Pastel Yellow
#9fa2ff  rgb(159, 162, 255)  hsl(238, 100%, 81%)  Wild Blue Yonder
#9ffffc  rgb(159, 255, 252)  hsl(178, 100%, 81%)  Celeste
#fc9fff  rgb(252, 159, 255)  hsl(298, 100%, 81%)  Violet