#FEF6DF

#fef6df ≈ Cornsilk

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

#fef6df 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, 96.47% green and 87.45% blue; printed in CMYK it uses 0% cyan, 3.15% magenta, 12.2% yellow and 0.39% black. Its hue angle is 44.52°, with 93.94% saturation and 93.53% 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.46:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.91.

Description generated from the measured properties of this color.

Conversions of #fef6df 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.9231

Readable text 1.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f6f6f6 ≈ 0.003% of males
Achromatomaly #f9f6ed ≈ 0.001% of males
Protanopia #fcf5de ≈ 1.01% of males
Deuteranopia #fef7e0 ≈ 1.27% of males
Tritanopia #fff2ef ≈ 0.0001% of males
Protanomaly #fdf5de ≈ 1.08% of males
Deuteranomaly #fef7df ≈ 4.63% of males
Tritanomaly #fff4e9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef6df {
  color: #fef6df;
}
Background
.bg-fef6df {
  background-color: #fef6df;
  color: #000000;
}
Border
.border-fef6df {
  border: 2px solid #fef6df;
}
CSS variables
:root {
  --color-primary: #fef6df;
  --color-primary-rgb: 254 246 223;
  --color-primary-hsl: 45 94% 94%;
}
Gradient
.gradient-fef6df {
  background: linear-gradient(135deg, #fef6df, #f6fedf);
}
Colored shadow
.shadow-fef6df {
  box-shadow: 0 8px 24px rgb(254 246 223 / 0.35);
}

Cornsilk
#fef6df  rgb(254, 246, 223)  hsl(45, 94%, 94%)  Cornsilk
#dfe7fe  rgb(223, 231, 254)  hsl(225, 94%, 94%)  Lavender
#dffef6  rgb(223, 254, 246)  hsl(165, 94%, 94%)  Light Cyan
#f6dffe  rgb(246, 223, 254)  hsl(285, 94%, 94%)  Languid Lavender