#FEF78A

#fef78a ≈ Pastel Yellow

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

#fef78a 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 54.12% blue; printed in CMYK it uses 0% cyan, 2.76% magenta, 45.67% yellow and 0.39% black. Its hue angle is 56.38°, with 98.31% saturation and 76.86% 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.89:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.28.

Description generated from the measured properties of this color.

Conversions of #fef78a 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.8943

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

Achromatopsia #f3f3f3 ≈ 0.003% of males
Achromatomaly #f7f4d1 ≈ 0.001% of males
Protanopia #fff081 ≈ 1.01% of males
Deuteranopia #fff58f ≈ 1.27% of males
Tritanopia #ffeadd ≈ 0.0001% of males
Protanomaly #fff385 ≈ 1.08% of males
Deuteranomaly #fff68d ≈ 4.63% of males
Tritanomaly #fff0c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fef78a  rgb(254, 247, 138)  hsl(56, 98%, 77%)  Pastel Yellow
#8a91fe  rgb(138, 145, 254)  hsl(236, 98%, 77%)  Cornflower Blue
#8afef7  rgb(138, 254, 247)  hsl(176, 98%, 77%)  Electric Blue
#f78afe  rgb(247, 138, 254)  hsl(296, 98%, 77%)  Violet