#FEF47F

#fef47f ≈ Pastel Yellow

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

#fef47f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 95.69% green and 49.8% blue; printed in CMYK it uses 0% cyan, 3.94% magenta, 50% yellow and 0.39% black. Its hue angle is 55.28°, with 98.45% saturation and 74.71% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 18.46:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.69.

Description generated from the measured properties of this color.

Conversions of #fef47f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffff66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.873

Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f0f0f0 ≈ 0.003% of males
Achromatomaly #f6f2cd ≈ 0.001% of males
Protanopia #ffed74 ≈ 1.01% of males
Deuteranopia #fff385 ≈ 1.27% of males
Tritanopia #ffe7d9 ≈ 0.0001% of males
Protanomaly #fff079 ≈ 1.08% of males
Deuteranomaly #fff382 ≈ 4.63% of males
Tritanomaly #ffecbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef47f {
  color: #fef47f;
}
Background
.bg-fef47f {
  background-color: #fef47f;
  color: #000000;
}
Border
.border-fef47f {
  border: 2px solid #fef47f;
}
CSS variables
:root {
  --color-primary: #fef47f;
  --color-primary-rgb: 254 244 127;
  --color-primary-hsl: 55 98% 75%;
}
Gradient
.gradient-fef47f {
  background: linear-gradient(135deg, #fef47f, #c8fe7f);
}
Colored shadow
.shadow-fef47f {
  box-shadow: 0 8px 24px rgb(254 244 127 / 0.35);
}

Pastel Yellow
#fef47f  rgb(254, 244, 127)  hsl(55, 98%, 75%)  Pastel Yellow
#7f89fe  rgb(127, 137, 254)  hsl(235, 98%, 75%)  Cornflower Blue
#7ffef4  rgb(127, 254, 244)  hsl(175, 98%, 75%)  Turquoise Blue
#f47ffe  rgb(244, 127, 254)  hsl(295, 98%, 75%)  Fuchsia Pink