#FEF8E7

#fef8e7 ≈ Cosmic Latte

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

#fef8e7 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.25% green and 90.59% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 9.06% yellow and 0.39% black. Its hue angle is 44.35°, with 92% saturation and 95.1% 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.8:1 (WCAG AAA). The closest named color is Cosmic Latte (#fff8e7), ΔE 0.48.

Description generated from the measured properties of this color.

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

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

Achromatopsia #f8f8f8 ≈ 0.003% of males
Achromatomaly #faf8f1 ≈ 0.001% of males
Protanopia #fcf7e6 ≈ 1.01% of males
Deuteranopia #fef9e7 ≈ 1.27% of males
Tritanopia #fff5f3 ≈ 0.0001% of males
Protanomaly #fdf7e6 ≈ 1.08% of males
Deuteranomaly #fef9e7 ≈ 4.63% of males
Tritanomaly #fff6ee ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fef8e7 {
  color: #fef8e7;
}
Background
.bg-fef8e7 {
  background-color: #fef8e7;
  color: #000000;
}
Border
.border-fef8e7 {
  border: 2px solid #fef8e7;
}
CSS variables
:root {
  --color-primary: #fef8e7;
  --color-primary-rgb: 254 248 231;
  --color-primary-hsl: 44 92% 95%;
}
Gradient
.gradient-fef8e7 {
  background: linear-gradient(135deg, #fef8e7, #f9fee7);
}
Colored shadow
.shadow-fef8e7 {
  box-shadow: 0 8px 24px rgb(254 248 231 / 0.35);
}

Cosmic Latte
#fef8e7  rgb(254, 248, 231)  hsl(44, 92%, 95%)  Cosmic Latte
#e7edfe  rgb(231, 237, 254)  hsl(224, 92%, 95%)  Lavender
#e7fef8  rgb(231, 254, 248)  hsl(164, 92%, 95%)  Light Cyan
#f8e7fe  rgb(248, 231, 254)  hsl(284, 92%, 95%)  Lavender