#FEF4CF

#fef4cf ≈ Cornsilk

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

#fef4cf 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, 95.69% green and 81.18% blue; printed in CMYK it uses 0% cyan, 3.94% magenta, 18.5% yellow and 0.39% black. Its hue angle is 47.23°, with 95.92% saturation and 90.39% 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.06:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.84.

Description generated from the measured properties of this color.

Conversions of #fef4cf 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.9028

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f4e6 ≈ 0.001% of males
Protanopia #fcf2cd ≈ 1.01% of males
Deuteranopia #fff5d0 ≈ 1.27% of males
Tritanopia #ffeeea ≈ 0.0001% of males
Protanomaly #fdf3ce ≈ 1.08% of males
Deuteranomaly #fff5d0 ≈ 4.63% of males
Tritanomaly #fff1df ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef4cf {
  color: #fef4cf;
}
Background
.bg-fef4cf {
  background-color: #fef4cf;
  color: #000000;
}
Border
.border-fef4cf {
  border: 2px solid #fef4cf;
}
CSS variables
:root {
  --color-primary: #fef4cf;
  --color-primary-rgb: 254 244 207;
  --color-primary-hsl: 47 96% 90%;
}
Gradient
.gradient-fef4cf {
  background: linear-gradient(135deg, #fef4cf, #f1fecf);
}
Colored shadow
.shadow-fef4cf {
  box-shadow: 0 8px 24px rgb(254 244 207 / 0.35);
}

Cornsilk
#fef4cf  rgb(254, 244, 207)  hsl(47, 96%, 90%)  Cornsilk
#cfd9fe  rgb(207, 217, 254)  hsl(227, 96%, 90%)  Periwinkle
#cffef4  rgb(207, 254, 244)  hsl(167, 96%, 90%)  Pale Turquoise
#f4cffe  rgb(244, 207, 254)  hsl(287, 96%, 90%)  Thistle