#FCF8A8

#fcf8a8 ≈ Pastel Yellow

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

#fcf8a8 is a color from the yellow family, with very high lightness and moderate saturation. In the RGB model it is made of 98.82% red, 97.25% green and 65.88% blue; printed in CMYK it uses 0% cyan, 1.59% magenta, 33.33% yellow and 1.18% black. Its hue angle is 57.14°, with 93.33% saturation and 82.35% 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.13:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #fcf8a8 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.9066

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f7f6da ≈ 0.001% of males
Protanopia #fff2a2 ≈ 1.01% of males
Deuteranopia #fff6ab ≈ 1.27% of males
Tritanopia #ffeee4 ≈ 0.0001% of males
Protanomaly #fff4a5 ≈ 1.08% of males
Deuteranomaly #fff7aa ≈ 4.63% of males
Tritanomaly #fff2ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fcf8a8 {
  color: #fcf8a8;
}
Background
.bg-fcf8a8 {
  background-color: #fcf8a8;
  color: #000000;
}
Border
.border-fcf8a8 {
  border: 2px solid #fcf8a8;
}
CSS variables
:root {
  --color-primary: #fcf8a8;
  --color-primary-rgb: 252 248 168;
  --color-primary-hsl: 57 93% 82%;
}
Gradient
.gradient-fcf8a8 {
  background: linear-gradient(135deg, #fcf8a8, #d6fca8);
}
Colored shadow
.shadow-fcf8a8 {
  box-shadow: 0 8px 24px rgb(252 248 168 / 0.35);
}

Pastel Yellow
#fcf8a8  rgb(252, 248, 168)  hsl(57, 93%, 82%)  Pastel Yellow
#a8acfc  rgb(168, 172, 252)  hsl(237, 93%, 82%)  Wild Blue Yonder
#a8fcf8  rgb(168, 252, 248)  hsl(177, 93%, 82%)  Celeste
#f8a8fc  rgb(248, 168, 252)  hsl(297, 93%, 82%)  Mauve