#FDF8A4

#fdf8a4 ≈ Pastel Yellow

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

#fdf8a4 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.22% red, 97.25% green and 64.31% blue; printed in CMYK it uses 0% cyan, 1.98% magenta, 35.18% yellow and 0.78% black. Its hue angle is 56.63°, with 95.7% saturation and 81.76% 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.14:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #fdf8a4 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.907

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f6d9 ≈ 0.001% of males
Protanopia #fff29e ≈ 1.01% of males
Deuteranopia #fff6a7 ≈ 1.27% of males
Tritanopia #ffeee3 ≈ 0.0001% of males
Protanomaly #fff4a0 ≈ 1.08% of males
Deuteranomaly #fff7a6 ≈ 4.63% of males
Tritanomaly #fff2cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fdf8a4  rgb(253, 248, 164)  hsl(57, 96%, 82%)  Pastel Yellow
#a4a9fd  rgb(164, 169, 253)  hsl(237, 96%, 82%)  Wild Blue Yonder
#a4fdf8  rgb(164, 253, 248)  hsl(177, 96%, 82%)  Celeste
#f8a4fd  rgb(248, 164, 253)  hsl(297, 96%, 82%)  Mauve