#F0E7CA color
The hex color #F0E7CA is a very light, moderate yellow.
In the RGB color model it is made of 94.1% red, 90.6% green and 79.2% blue (240, 231, 202).
Its hue angle is 46°, with 56% saturation and 87% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 16% yellow and 6% black.
The closest named color is Mayonnaise (#F6EED1), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 16.99:1).
#F0E7CA color codes
| HEX | #F0E7CA | |
|---|---|---|
| RGB | rgb(240, 231, 202) | |
| RGB percent | rgb(94.1%, 90.6%, 79.2%) | |
| HSL | hsl(46, 56%, 87%) | |
| HSV / HSB | hsv(46, 16%, 94%) | |
| CMYK | cmyk(0%, 4%, 16%, 6%) | |
| CIE LAB | lab(91.66, -1.66, 15.22) | |
| CIE LCH | lch(91.66, 15.31, 96.22) | |
| CIE XYZ | xyz(75.171, 79.942, 67.336) | |
| Decimal | 15787978 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F0E7CA, 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 #F0E7CA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.99:1 | Pass | Pass | Pass |
| Sample text | 1.24:1 | Fail | Fail | Fail |
| #F0E7CA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.99: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 #F0E7CA looks to people with the most common types of color vision deficiency.
#eee5c8Protanopia
no red cones#f0e8cbDeuteranopia
no green cones#f7e2dfTritanopia
no blue cones#e7e7e7Achromatopsia
no color vision
CSS examples
.background { background-color: #f0e7ca; }
.text { color: #f0e7ca; }
.border { border: 2px solid #f0e7ca; }
.transparent { background-color: rgb(240 231 202 / 50%); }
.gradient { background: linear-gradient(to right, #f0e7ca, #e6f0ca); }
Similar colors
#f6eed1Mayonnaise#f0e9d1Fuzzy Sheep#f5e9ceYoghurt Brûlée#f6eed5Moonlight#e6dfc4Horseradish#e9e3cbNylon#f0e3c7White Chocolate#f7f0d2Buttered Up
Closest common color name: Pearl.
Questions
- What color is #F0E7CA?
- #F0E7CA is a very light, moderate yellow, closest to the named color Mayonnaise. It belongs to the beige family of colors.
- What is the RGB value of #F0E7CA?
- The RGB value is 240, 231, 202: 240 red, 231 green and 202 blue on a 0 to 255 scale.
- What is the complementary color of #F0E7CA?
- The complementary color is #CAD3F0, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F0E7CA?
- Black text. Black text has a contrast ratio of 16.99:1 and white text 1.24:1. WCAG asks for at least 4.5:1 for normal text.