#FEF99F

#fef99f ≈ Pastel Yellow

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

#fef99f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 97.65% green and 62.35% blue; printed in CMYK it uses 0% cyan, 1.97% magenta, 37.4% yellow and 0.39% black. Its hue angle is 56.84°, with 97.94% saturation and 80.98% 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.27:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.26.

Description generated from the measured properties of this color.

Conversions of #fef99f 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.9133

Readable text 1.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f5f5f5 ≈ 0.003% of males
Achromatomaly #f9f7d8 ≈ 0.001% of males
Protanopia #fff398 ≈ 1.01% of males
Deuteranopia #fff7a3 ≈ 1.27% of males
Tritanopia #ffeee3 ≈ 0.0001% of males
Protanomaly #fff59b ≈ 1.08% of males
Deuteranomaly #fff8a1 ≈ 4.63% of males
Tritanomaly #fff2cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fef99f  rgb(254, 249, 159)  hsl(57, 98%, 81%)  Pastel Yellow
#9fa4fe  rgb(159, 164, 254)  hsl(237, 98%, 81%)  Wild Blue Yonder
#9ffef9  rgb(159, 254, 249)  hsl(177, 98%, 81%)  Celeste
#f99ffe  rgb(249, 159, 254)  hsl(297, 98%, 81%)  Violet