#FEF7A0

#fef7a0 ≈ Pastel Yellow

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

#fef7a0 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 62.75% blue; printed in CMYK it uses 0% cyan, 2.76% magenta, 37.01% yellow and 0.39% black. Its hue angle is 55.53°, with 97.92% saturation and 81.18% 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.03:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #fef7a0 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.9013

Readable text 1.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f5d7 ≈ 0.001% of males
Protanopia #fff19a ≈ 1.01% of males
Deuteranopia #fff6a4 ≈ 1.27% of males
Tritanopia #ffece1 ≈ 0.0001% of males
Protanomaly #fff39c ≈ 1.08% of males
Deuteranomaly #fff6a2 ≈ 4.63% of males
Tritanomaly #fff1ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fef7a0  rgb(254, 247, 160)  hsl(56, 98%, 81%)  Pastel Yellow
#a0a7fe  rgb(160, 167, 254)  hsl(236, 98%, 81%)  Wild Blue Yonder
#a0fef7  rgb(160, 254, 247)  hsl(176, 98%, 81%)  Celeste
#f7a0fe  rgb(247, 160, 254)  hsl(296, 98%, 81%)  Mauve