#FAF2D5

#faf2d5 ≈ Cornsilk

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

#faf2d5 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 98.04% red, 94.9% green and 83.53% blue; printed in CMYK it uses 0% cyan, 3.2% magenta, 14.8% yellow and 1.96% black. Its hue angle is 47.03°, with 78.72% saturation and 90.78% 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.73:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 1.3.

Description generated from the measured properties of this color.

Conversions of #faf2d5 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.8863

Readable text 1.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f2f2f2 ≈ 0.003% of males
Achromatomaly #f5f2e7 ≈ 0.001% of males
Protanopia #f9f0d3 ≈ 1.01% of males
Deuteranopia #fbf3d6 ≈ 1.27% of males
Tritanopia #ffedea ≈ 0.0001% of males
Protanomaly #f9f1d4 ≈ 1.08% of males
Deuteranomaly #fbf3d6 ≈ 4.63% of males
Tritanomaly #feefe2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-faf2d5 {
  color: #faf2d5;
}
Background
.bg-faf2d5 {
  background-color: #faf2d5;
  color: #000000;
}
Border
.border-faf2d5 {
  border: 2px solid #faf2d5;
}
CSS variables
:root {
  --color-primary: #faf2d5;
  --color-primary-rgb: 250 242 213;
  --color-primary-hsl: 47 79% 91%;
}
Gradient
.gradient-faf2d5 {
  background: linear-gradient(135deg, #faf2d5, #effad5);
}
Colored shadow
.shadow-faf2d5 {
  box-shadow: 0 8px 24px rgb(250 242 213 / 0.35);
}

Cornsilk
#faf2d5  rgb(250, 242, 213)  hsl(47, 79%, 91%)  Cornsilk
#d5ddfa  rgb(213, 221, 250)  hsl(227, 79%, 91%)  Lavender
#d5faf2  rgb(213, 250, 242)  hsl(167, 79%, 91%)  Light Cyan
#f2d5fa  rgb(242, 213, 250)  hsl(287, 79%, 91%)  Thistle