#F8F0D5

#f8f0d5 ≈ Cornsilk

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

#f8f0d5 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, 94.12% green and 83.53% blue; printed in CMYK it uses 0% cyan, 3.23% magenta, 14.11% yellow and 2.75% black. Its hue angle is 46.29°, with 71.43% 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 18.42:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.7.

Description generated from the measured properties of this color.

Conversions of #f8f0d5 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.8708

Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f0f0f0 ≈ 0.003% of males
Achromatomaly #f3f0e6 ≈ 0.001% of males
Protanopia #f6eed3 ≈ 1.01% of males
Deuteranopia #f9f1d6 ≈ 1.27% of males
Tritanopia #feece8 ≈ 0.0001% of males
Protanomaly #f7efd4 ≈ 1.08% of males
Deuteranomaly #f8f1d5 ≈ 4.63% of males
Tritanomaly #fcede1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8f0d5 {
  color: #f8f0d5;
}
Background
.bg-f8f0d5 {
  background-color: #f8f0d5;
  color: #000000;
}
Border
.border-f8f0d5 {
  border: 2px solid #f8f0d5;
}
CSS variables
:root {
  --color-primary: #f8f0d5;
  --color-primary-rgb: 248 240 213;
  --color-primary-hsl: 46 71% 90%;
}
Gradient
.gradient-f8f0d5 {
  background: linear-gradient(135deg, #f8f0d5, #eef8d5);
}
Colored shadow
.shadow-f8f0d5 {
  box-shadow: 0 8px 24px rgb(248 240 213 / 0.35);
}

Cornsilk
#f8f0d5  rgb(248, 240, 213)  hsl(46, 71%, 90%)  Cornsilk
#d5ddf8  rgb(213, 221, 248)  hsl(226, 71%, 90%)  Lavender
#d5f8f0  rgb(213, 248, 240)  hsl(166, 71%, 90%)  Light Cyan
#f0d5f8  rgb(240, 213, 248)  hsl(286, 71%, 90%)  Thistle