Vanilla Cake color: hex code #FCF0CA

#FCF0CA rgb(252, 240, 202)
Shades of beige

Vanilla Cake has the hex code #FCF0CA. It is a very light, vivid yellow.

In the RGB color model it is made of 98.8% red, 94.1% green and 79.2% blue (252, 240, 202).

Its hue angle is 46°, with 89% saturation and 89% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 20% yellow and 1% black.

Black text is the more readable choice on this background (contrast 18.46:1).

Vanilla Cake (#FCF0CA) color codes

HEX#FCF0CA
RGBrgb(252, 240, 202)
RGB percentrgb(98.8%, 94.1%, 79.2%)
HSLhsl(46, 89%, 89%)
HSV / HSBhsv(46, 20%, 99%)
CMYKcmyk(0%, 5%, 20%, 1%)
CIE LABlab(94.86, -1.91, 19.85)
CIE LCHlch(94.86, 19.94, 95.51)
CIE XYZxyz(81.965, 87.281, 68.395)
Decimal16576714
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Vanilla Cake, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #FCF0CARatioAAAAAAA large
Sample text18.46:1PassPassPass
Sample text1.14:1FailFailFail
#FCF0CA as text onRatioAAAAAAA large
Sample text1.14:1FailFailFail
Sample text18.46:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #FCF0CA looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #fcf0ca; }
.text { color: #fcf0ca; }
.border { border: 2px solid #fcf0ca; }
.transparent { background-color: rgb(252 240 202 / 50%); }
.gradient { background: linear-gradient(to right, #fcf0ca, #effcca); }
Background
Text color
Border

Similar colors

Closest common color name: Cornsilk.

See #FCF0CA on its hex code page

Questions

What color is #FCF0CA?
#FCF0CA is a very light, vivid yellow known as Vanilla Cake. It belongs to the beige family of colors.
What is the RGB value of Vanilla Cake?
The RGB value is 252, 240, 202: 252 red, 240 green and 202 blue on a 0 to 255 scale.
What is the complementary color of Vanilla Cake?
The complementary color is #CAD6FC, found by rotating the hue 180° on the color wheel.
Is black or white text better on #FCF0CA?
Black text. Black text has a contrast ratio of 18.46:1 and white text 1.14:1. WCAG asks for at least 4.5:1 for normal text.