#FFF4D2

#fff4d2 ≈ Cornsilk

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

#fff4d2 is a color from the yellow family, with very high lightness and muted saturation. In the RGB model it is made of 100% red, 95.69% green and 82.35% blue; printed in CMYK it uses 0% cyan, 4.31% magenta, 17.65% yellow and 0% black. Its hue angle is 45.33°, with 100% saturation and 91.18% 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.12:1 (WCAG AAA). The closest named color is Cornsilk (#fff8dc), ΔE 2.29.

Description generated from the measured properties of this color.

Conversions of #fff4d2 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.9061

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f9f4e7 ≈ 0.001% of males
Protanopia #fcf2d0 ≈ 1.01% of males
Deuteranopia #fff6d3 ≈ 1.27% of males
Tritanopia #ffeeea ≈ 0.0001% of males
Protanomaly #fdf3d1 ≈ 1.08% of males
Deuteranomaly #fff5d3 ≈ 4.63% of males
Tritanomaly #fff1e1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fff4d2 {
  color: #fff4d2;
}
Background
.bg-fff4d2 {
  background-color: #fff4d2;
  color: #000000;
}
Border
.border-fff4d2 {
  border: 2px solid #fff4d2;
}
CSS variables
:root {
  --color-primary: #fff4d2;
  --color-primary-rgb: 255 244 210;
  --color-primary-hsl: 45 100% 91%;
}
Gradient
.gradient-fff4d2 {
  background: linear-gradient(135deg, #fff4d2, #f4ffd2);
}
Colored shadow
.shadow-fff4d2 {
  box-shadow: 0 8px 24px rgb(255 244 210 / 0.35);
}

Cornsilk
#fff4d2  rgb(255, 244, 210)  hsl(45, 100%, 91%)  Cornsilk
#d2ddff  rgb(210, 221, 255)  hsl(225, 100%, 91%)  Periwinkle
#d2fff4  rgb(210, 255, 244)  hsl(165, 100%, 91%)  Light Cyan
#f4d2ff  rgb(244, 210, 255)  hsl(285, 100%, 91%)  Thistle