#FEF9DA

#fef9da ≈ Cornsilk

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

#fef9da is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 99.61% red, 97.65% green and 85.49% blue; printed in CMYK it uses 0% cyan, 1.97% magenta, 14.17% yellow and 0.39% black. Its hue angle is 51.67°, with 94.74% saturation and 92.55% 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.78:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.43.

Description generated from the measured properties of this color.

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

Readable text 1.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f8f8f8 ≈ 0.003% of males
Achromatomaly #faf8ed ≈ 0.001% of males
Protanopia #fff7d8 ≈ 1.01% of males
Deuteranopia #fff9db ≈ 1.27% of males
Tritanopia #fff4f0 ≈ 0.0001% of males
Protanomaly #fff8d9 ≈ 1.08% of males
Deuteranomaly #fff9db ≈ 4.63% of males
Tritanomaly #fff6e8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef9da {
  color: #fef9da;
}
Background
.bg-fef9da {
  background-color: #fef9da;
  color: #000000;
}
Border
.border-fef9da {
  border: 2px solid #fef9da;
}
CSS variables
:root {
  --color-primary: #fef9da;
  --color-primary-rgb: 254 249 218;
  --color-primary-hsl: 52 95% 93%;
}
Gradient
.gradient-fef9da {
  background: linear-gradient(135deg, #fef9da, #f1feda);
}
Colored shadow
.shadow-fef9da {
  box-shadow: 0 8px 24px rgb(254 249 218 / 0.35);
}

Cornsilk
#fef9da  rgb(254, 249, 218)  hsl(52, 95%, 93%)  Cornsilk
#dadffe  rgb(218, 223, 254)  hsl(232, 95%, 93%)  Lavender
#dafef9  rgb(218, 254, 249)  hsl(172, 95%, 93%)  Light Cyan
#f9dafe  rgb(249, 218, 254)  hsl(292, 95%, 93%)  Thistle