#F2E7AB

#f2e7ab ≈ Vanilla

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

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

Description generated from the measured properties of this color.

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

Readable text 1.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e6e6e6 ≈ 0.003% of males
Achromatomaly #ebe6d1 ≈ 0.001% of males
Protanopia #f3e3a7 ≈ 1.01% of males
Deuteranopia #f6e8ad ≈ 1.27% of males
Tritanopia #fddfd7 ≈ 0.0001% of males
Protanomaly #f2e5a9 ≈ 1.08% of males
Deuteranomaly #f4e7ac ≈ 4.63% of males
Tritanomaly #f9e2c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vanilla
#f2e7ab  rgb(242, 231, 171)  hsl(51, 73%, 81%)  Vanilla
#abb6f2  rgb(171, 182, 242)  hsl(231, 73%, 81%)  Wild Blue Yonder
#abf2e7  rgb(171, 242, 231)  hsl(171, 73%, 81%)  Pale Turquoise
#e7abf2  rgb(231, 171, 242)  hsl(291, 73%, 81%)  Mauve