#F2DFAB

#f2dfab ≈ Vanilla

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#f2dfab is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 87.45% green and 67.06% blue; printed in CMYK it uses 0% cyan, 7.85% magenta, 29.34% yellow and 5.1% black. Its hue angle is 43.94°, with 73.2% saturation and 80.98% 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 15.92:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 2.51.

Description generated from the measured properties of this color.

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

Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e0e0e0 ≈ 0.003% of males
Achromatomaly #e7e0cd ≈ 0.001% of males
Protanopia #ebdda8 ≈ 1.01% of males
Deuteranopia #f0e2ad ≈ 1.27% of males
Tritanopia #fdd7d1 ≈ 0.0001% of males
Protanomaly #eedea9 ≈ 1.08% of males
Deuteranomaly #f1e1ac ≈ 4.63% of males
Tritanomaly #f9dac3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2dfab {
  color: #f2dfab;
}
Background
.bg-f2dfab {
  background-color: #f2dfab;
  color: #000000;
}
Border
.border-f2dfab {
  border: 2px solid #f2dfab;
}
CSS variables
:root {
  --color-primary: #f2dfab;
  --color-primary-rgb: 242 223 171;
  --color-primary-hsl: 44 73% 81%;
}
Gradient
.gradient-f2dfab {
  background: linear-gradient(135deg, #f2dfab, #e2f2ab);
}
Colored shadow
.shadow-f2dfab {
  box-shadow: 0 8px 24px rgb(242 223 171 / 0.35);
}

Vanilla
#f2dfab  rgb(242, 223, 171)  hsl(44, 73%, 81%)  Vanilla
#abbef2  rgb(171, 190, 242)  hsl(224, 73%, 81%)  Wild Blue Yonder
#abf2df  rgb(171, 242, 223)  hsl(164, 73%, 81%)  Magic Mint
#dfabf2  rgb(223, 171, 242)  hsl(284, 73%, 81%)  Mauve