#FEFC98

#fefc98 ≈ Pastel Yellow

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

#fefc98 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 59.61% blue; printed in CMYK it uses 0% cyan, 0.79% magenta, 40.16% yellow and 0.39% black. Its hue angle is 58.82°, with 98.08% saturation and 79.61% 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.59:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 0.62.

Description generated from the measured properties of this color.

Conversions of #fefc98 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.9296

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

Achromatopsia #f7f7f7 ≈ 0.003% of males
Achromatomaly #faf9d8 ≈ 0.001% of males
Protanopia #fff590 ≈ 1.01% of males
Deuteranopia #fff99c ≈ 1.27% of males
Tritanopia #fff0e4 ≈ 0.0001% of males
Protanomaly #fff893 ≈ 1.08% of males
Deuteranomaly #fffa9b ≈ 4.63% of males
Tritanomaly #fff5ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fefc98  rgb(254, 252, 152)  hsl(59, 98%, 80%)  Pastel Yellow
#989afe  rgb(152, 154, 254)  hsl(239, 98%, 80%)  Cornflower Blue
#98fefc  rgb(152, 254, 252)  hsl(179, 98%, 80%)  Celeste
#fc98fe  rgb(252, 152, 254)  hsl(299, 98%, 80%)  Violet