#F2E2B2

#f2e2b2 ≈ Vanilla

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

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

Description generated from the measured properties of this color.

Conversions of #f2e2b2 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.7648

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

Achromatopsia #e3e3e3 ≈ 0.003% of males
Achromatomaly #e9e2d1 ≈ 0.001% of males
Protanopia #ede0af ≈ 1.01% of males
Deuteranopia #f1e5b3 ≈ 1.27% of males
Tritanopia #fcdad5 ≈ 0.0001% of males
Protanomaly #efe1b0 ≈ 1.08% of males
Deuteranomaly #f1e4b3 ≈ 4.63% of males
Tritanomaly #f8ddc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2e2b2 {
  color: #f2e2b2;
}
Background
.bg-f2e2b2 {
  background-color: #f2e2b2;
  color: #000000;
}
Border
.border-f2e2b2 {
  border: 2px solid #f2e2b2;
}
CSS variables
:root {
  --color-primary: #f2e2b2;
  --color-primary-rgb: 242 226 178;
  --color-primary-hsl: 45 71% 82%;
}
Gradient
.gradient-f2e2b2 {
  background: linear-gradient(135deg, #f2e2b2, #e2f2b2);
}
Colored shadow
.shadow-f2e2b2 {
  box-shadow: 0 8px 24px rgb(242 226 178 / 0.35);
}

Vanilla
#f2e2b2  rgb(242, 226, 178)  hsl(45, 71%, 82%)  Vanilla
#b2c2f2  rgb(178, 194, 242)  hsl(225, 71%, 82%)  Periwinkle
#b2f2e2  rgb(178, 242, 226)  hsl(165, 71%, 82%)  Magic Mint
#e2b2f2  rgb(226, 178, 242)  hsl(285, 71%, 82%)  Mauve