Photo in the color Medium champagne
Pictured: Medium champagne
rgb(243, 229, 171)
#F3E5AB

Vanilla #F3E5AB RGB Color Code

Also known as Medium Champagne

Vanilla (#F3E5AB) is a muted, very light yellow. In RGB it is made of 95% red, 90% green and 67% blue (R 243, G 229, B 171). The red channel is the strongest. In HSL it has a hue of 48Β°, 75% saturation and 81% lightness. Its relative luminance is 0.780, so black text is easier to read on top of it. For print, a rough CMYK match is 0% cyan, 6% magenta, 30% yellow and 5% black. Check it against your printer's ICC profile before you print. It is a warm color. It goes well with cool blues and greens for contrast. For a matching look, use nearby warm tones.

Open in color picker

Vanilla color codes

#F3E5AB in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #F3E5AB Valid CSS
RGB rgb(243, 229, 171) Valid CSS
HSL hsl(48, 75%, 81%) Valid CSS
HSV / HSB hsv(48, 30%, 95%) Not a CSS format
HWB hwb(48 67% 5%) Valid CSS
CMYK cmyk(0%, 6%, 30%, 5%) Approximate (no ICC profile)
OKLCH oklch(91.93% 0.076 96.15) Valid CSS
OKLab oklab(91.93% -0.0081 0.0755) Valid CSS
CIELAB lab(91.04% -1.4 30.2) D50, as in CSS
CIELCH lch(91.04% 30.23 92.65) Valid CSS
Display P3 color(display-p3 0.9435 0.8999 0.6964) Valid CSS
XYZ (D65) color(xyz-d65 0.7233 0.7803 0.4978) Valid CSS
Decimal 15984043 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.7803. Nearest web-safe color: #FFCC99.

Mix Vanilla with other colors

See what #F3E5AB makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Vanilla in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--vanilla: #F3E5AB;
Sass variable$vanilla: #F3E5AB;
Tailwind CSS v4@theme { --color-vanilla: #F3E5AB; }
Tailwind CSS v3 configcolors: { 'vanilla': '#F3E5AB' }
SwiftUIColor(red: 0.953, green: 0.898, blue: 0.671)
UIKitUIColor(red: 0.953, green: 0.898, blue: 0.671, alpha: 1)
Android XML<color name="vanilla">#FFF3E5AB</color>
Flutter and Jetpack ComposeColor(0xFFF3E5AB)

Accessibility and contrast

Black text works best on #F3E5AB (16.61:1, AAA). Here is how #F3E5AB does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.26:1 on white
APCA Lc 13
Fails AATry #847740
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
16.61:1 on black
APCA Lc -91
AAA

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Vanilla

#F3E5AB next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

With protanopia, #F3E5AB and #ABF3E5 look much alike. Don't use these colors alone to tell things apart, for example in a chart. Add labels, patterns or a difference in lightness. Try your own colors in the color blindness simulator.

About the color Vanilla

Named for the pale ice cream

Vanilla the spice is a dark brown pod from an orchid. The color is named after what the spice flavors, so it shows the pale cream of vanilla ice cream or custard. According to Maerz and Paul's A Dictionary of Color of 1930, the word was first used as a color name in English in 1925.

Where the code comes from

The Wikipedia article on vanilla as a color gives #F3E5AB and credits the ISCC-NBS color list. That system names the shade pale greenish yellow. It sits between cream, which is lighter, and Navajo white, which is more orange.

Not every list agrees. The Xona.com color list calls a grayish beige, #D1BEA8, vanilla. This site shows that one as dark vanilla.

As a background

As a page background, vanilla works well with dark text. Black text on it has a contrast of 16.61 to 1, so it is easy to read. White text, at 1.26 to 1, is not.

Vanilla in a user interface

A sample app screen with #F3E5AB as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #F3E5AB as it is. On the light theme, #F3E5AB is too hard to read as text (1.26:1), so links, the badge and outline text use #847740 there (4.47:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Vanilla

These schemes turn the hue of #F3E5AB around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90Β° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Vanilla

Four CSS gradients made from #F3E5AB. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #FDFAEF, #F3E5AB);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #F3E5AB, #443F2D);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #F3C1AB, #F3E5AB, #DDF3AB);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #F3E5AB, #D2EDC9, #ABF3E5);

Edit in the gradient generator

Shades, tints and tones of Vanilla

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Vanilla sits at step 100. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    FCF7E3
  2. 100
    F3E5AB
  3. 200
    E4DBB8
  4. 300
    CCC194
  5. 400
    B0A36F
  6. 500
    94864F
  7. 600
    796C36
  8. 700
    615524
  9. 800
    4C4219
  10. 900
    373011
  11. 950
    211D0D

Closest RAL, Tailwind and CSS colors

The nearest match to #F3E5AB in three color systems that designers and builders use.

Ξ”E is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (Ξ”E in OKLab). Browse all shades of yellow or search the color library.