#FDF8A7

#fdf8a7 ≈ Pastel Yellow

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

#fdf8a7 is a color from the yellow family, with very high lightness and moderate saturation. In the RGB model it is made of 99.22% red, 97.25% green and 65.49% blue; printed in CMYK it uses 0% cyan, 1.98% magenta, 33.99% yellow and 0.78% black. Its hue angle is 56.51°, with 95.56% saturation and 82.35% 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.16:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.59.

Description generated from the measured properties of this color.

Conversions of #fdf8a7 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.9081

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f6da ≈ 0.001% of males
Protanopia #fff2a1 ≈ 1.01% of males
Deuteranopia #fff6aa ≈ 1.27% of males
Tritanopia #ffeee3 ≈ 0.0001% of males
Protanomaly #fff4a4 ≈ 1.08% of males
Deuteranomaly #fff7a9 ≈ 4.63% of males
Tritanomaly #fff2ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fdf8a7 {
  color: #fdf8a7;
}
Background
.bg-fdf8a7 {
  background-color: #fdf8a7;
  color: #000000;
}
Border
.border-fdf8a7 {
  border: 2px solid #fdf8a7;
}
CSS variables
:root {
  --color-primary: #fdf8a7;
  --color-primary-rgb: 253 248 167;
  --color-primary-hsl: 57 96% 82%;
}
Gradient
.gradient-fdf8a7 {
  background: linear-gradient(135deg, #fdf8a7, #d7fda7);
}
Colored shadow
.shadow-fdf8a7 {
  box-shadow: 0 8px 24px rgb(253 248 167 / 0.35);
}

Pastel Yellow
#fdf8a7  rgb(253, 248, 167)  hsl(57, 96%, 82%)  Pastel Yellow
#a7acfd  rgb(167, 172, 253)  hsl(237, 96%, 82%)  Wild Blue Yonder
#a7fdf8  rgb(167, 253, 248)  hsl(177, 96%, 82%)  Celeste
#f8a7fd  rgb(248, 167, 253)  hsl(297, 96%, 82%)  Mauve