Vanilla Cake color: hex code #FCF0CA
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 | |
|---|---|---|
| RGB | rgb(252, 240, 202) | |
| RGB percent | rgb(98.8%, 94.1%, 79.2%) | |
| HSL | hsl(46, 89%, 89%) | |
| HSV / HSB | hsv(46, 20%, 99%) | |
| CMYK | cmyk(0%, 5%, 20%, 1%) | |
| CIE LAB | lab(94.86, -1.91, 19.85) | |
| CIE LCH | lch(94.86, 19.94, 95.51) | |
| CIE XYZ | xyz(81.965, 87.281, 68.395) | |
| Decimal | 16576714 | |
| Short hex | None (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 #FCF0CA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.46:1 | Pass | Pass | Pass |
| Sample text | 1.14:1 | Fail | Fail | Fail |
| #FCF0CA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.46:1 | Pass | Pass | Pass |
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.
#f9eec8Protanopia
no red cones#fcf2cbDeuteranopia
no green cones#ffeae5Tritanopia
no blue cones#f0f0f0Achromatopsia
no color vision
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); }
Similar colors
#faf1cdHint of Yellow#f7edcaMother’s Milk#fff5cfStereotypical Duck#f7eec8Banana Split#fdf2d1Vanilla Ice#f9ebbfCandle in the Wind#fff0cfWalnut Milkies#f5eec6Silk Star
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.