#F8EFD4

#f8efd4 ≈ Cornsilk

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

#f8efd4 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 97.25% red, 93.73% green and 83.14% blue; printed in CMYK it uses 0% cyan, 3.63% magenta, 14.52% yellow and 2.75% black. Its hue angle is 45°, with 72% saturation and 90.2% 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 18.29:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.04.

Description generated from the measured properties of this color.

Conversions of #f8efd4 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.8644

Readable text 1.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #efefef ≈ 0.003% of males
Achromatomaly #f3efe5 ≈ 0.001% of males
Protanopia #f5eed2 ≈ 1.01% of males
Deuteranopia #f8f0d5 ≈ 1.27% of males
Tritanopia #feebe7 ≈ 0.0001% of males
Protanomaly #f6eed3 ≈ 1.08% of males
Deuteranomaly #f8f0d4 ≈ 4.63% of males
Tritanomaly #fcece0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8efd4 {
  color: #f8efd4;
}
Background
.bg-f8efd4 {
  background-color: #f8efd4;
  color: #000000;
}
Border
.border-f8efd4 {
  border: 2px solid #f8efd4;
}
CSS variables
:root {
  --color-primary: #f8efd4;
  --color-primary-rgb: 248 239 212;
  --color-primary-hsl: 45 72% 90%;
}
Gradient
.gradient-f8efd4 {
  background: linear-gradient(135deg, #f8efd4, #eff8d4);
}
Colored shadow
.shadow-f8efd4 {
  box-shadow: 0 8px 24px rgb(248 239 212 / 0.35);
}

Cornsilk
#f8efd4  rgb(248, 239, 212)  hsl(45, 72%, 90%)  Cornsilk
#d4ddf8  rgb(212, 221, 248)  hsl(225, 72%, 90%)  Lavender
#d4f8ef  rgb(212, 248, 239)  hsl(165, 72%, 90%)  Light Cyan
#efd4f8  rgb(239, 212, 248)  hsl(285, 72%, 90%)  Thistle