#F2E2AB

#f2e2ab ≈ Vanilla

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

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

Description generated from the measured properties of this color.

Conversions of #f2e2ab 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.7621

Readable text 1.29:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e2e2e2 ≈ 0.003% of males
Achromatomaly #e9e2ce ≈ 0.001% of males
Protanopia #eedfa7 ≈ 1.01% of males
Deuteranopia #f2e4ad ≈ 1.27% of males
Tritanopia #fddad3 ≈ 0.0001% of males
Protanomaly #efe0a9 ≈ 1.08% of males
Deuteranomaly #f2e3ac ≈ 4.63% of males
Tritanomaly #f9ddc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vanilla
#f2e2ab  rgb(242, 226, 171)  hsl(46, 73%, 81%)  Vanilla
#abbbf2  rgb(171, 187, 242)  hsl(226, 73%, 81%)  Wild Blue Yonder
#abf2e2  rgb(171, 242, 226)  hsl(166, 73%, 81%)  Magic Mint
#e2abf2  rgb(226, 171, 242)  hsl(286, 73%, 81%)  Mauve