#FEFC8E

#fefc8e ≈ Pastel Yellow

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

#fefc8e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 98.82% green and 55.69% blue; printed in CMYK it uses 0% cyan, 0.79% magenta, 44.09% yellow and 0.39% black. Its hue angle is 58.93°, with 98.25% saturation and 77.65% 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.53:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.18.

Description generated from the measured properties of this color.

Conversions of #fefc8e 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.9264

Readable text 1.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f7f7f7 ≈ 0.003% of males
Achromatomaly #faf9d5 ≈ 0.001% of males
Protanopia #fff485 ≈ 1.01% of males
Deuteranopia #fff993 ≈ 1.27% of males
Tritanopia #fff0e2 ≈ 0.0001% of males
Protanomaly #fff789 ≈ 1.08% of males
Deuteranomaly #fffa91 ≈ 4.63% of males
Tritanomaly #fff5c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fefc8e {
  color: #fefc8e;
}
Background
.bg-fefc8e {
  background-color: #fefc8e;
  color: #000000;
}
Border
.border-fefc8e {
  border: 2px solid #fefc8e;
}
CSS variables
:root {
  --color-primary: #fefc8e;
  --color-primary-rgb: 254 252 142;
  --color-primary-hsl: 59 98% 78%;
}
Gradient
.gradient-fefc8e {
  background: linear-gradient(135deg, #fefc8e, #c8fe8e);
}
Colored shadow
.shadow-fefc8e {
  box-shadow: 0 8px 24px rgb(254 252 142 / 0.35);
}

Pastel Yellow
#fefc8e  rgb(254, 252, 142)  hsl(59, 98%, 78%)  Pastel Yellow
#8e90fe  rgb(142, 144, 254)  hsl(239, 98%, 78%)  Cornflower Blue
#8efefc  rgb(142, 254, 252)  hsl(179, 98%, 78%)  Electric Blue
#fc8efe  rgb(252, 142, 254)  hsl(299, 98%, 78%)  Violet