#FEF78E

#fef78e ≈ Pastel Yellow

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

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

Description generated from the measured properties of this color.

Conversions of #fef78e 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.8955

Readable text 1.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f3f3f3 ≈ 0.003% of males
Achromatomaly #f7f5d2 ≈ 0.001% of males
Protanopia #fff085 ≈ 1.01% of males
Deuteranopia #fff593 ≈ 1.27% of males
Tritanopia #ffebde ≈ 0.0001% of males
Protanomaly #fff389 ≈ 1.08% of males
Deuteranomaly #fff691 ≈ 4.63% of males
Tritanomaly #fff0c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fef78e  rgb(254, 247, 142)  hsl(56, 98%, 78%)  Pastel Yellow
#8e95fe  rgb(142, 149, 254)  hsl(236, 98%, 78%)  Cornflower Blue
#8efef7  rgb(142, 254, 247)  hsl(176, 98%, 78%)  Electric Blue
#f78efe  rgb(247, 142, 254)  hsl(296, 98%, 78%)  Violet