#FEFA9D

#fefa9d ≈ Pastel Yellow

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

#fefa9d 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.04% green and 61.57% blue; printed in CMYK it uses 0% cyan, 1.57% magenta, 38.19% yellow and 0.39% black. Its hue angle is 57.53°, with 97.98% saturation and 80.59% 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.38:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.73.

Description generated from the measured properties of this color.

Conversions of #fefa9d 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.9188

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

Achromatopsia #f6f6f6 ≈ 0.003% of males
Achromatomaly #f9f7d8 ≈ 0.001% of males
Protanopia #fff396 ≈ 1.01% of males
Deuteranopia #fff8a1 ≈ 1.27% of males
Tritanopia #ffefe3 ≈ 0.0001% of males
Protanomaly #fff699 ≈ 1.08% of males
Deuteranomaly #fff99f ≈ 4.63% of males
Tritanomaly #fff3cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fefa9d {
  color: #fefa9d;
}
Background
.bg-fefa9d {
  background-color: #fefa9d;
  color: #000000;
}
Border
.border-fefa9d {
  border: 2px solid #fefa9d;
}
CSS variables
:root {
  --color-primary: #fefa9d;
  --color-primary-rgb: 254 250 157;
  --color-primary-hsl: 58 98% 81%;
}
Gradient
.gradient-fefa9d {
  background: linear-gradient(135deg, #fefa9d, #d1fe9d);
}
Colored shadow
.shadow-fefa9d {
  box-shadow: 0 8px 24px rgb(254 250 157 / 0.35);
}

Pastel Yellow
#fefa9d  rgb(254, 250, 157)  hsl(58, 98%, 81%)  Pastel Yellow
#9da1fe  rgb(157, 161, 254)  hsl(238, 98%, 81%)  Wild Blue Yonder
#9dfefa  rgb(157, 254, 250)  hsl(178, 98%, 81%)  Celeste
#fa9dfe  rgb(250, 157, 254)  hsl(298, 98%, 81%)  Violet