#F0F8D4 color
The hex color #F0F8D4 is a very light, moderate yellow-green.
In the RGB color model it is made of 94.1% red, 97.3% green and 83.1% blue (240, 248, 212).
Its hue angle is 73°, with 72% saturation and 90% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 15% yellow and 3% black.
The closest named color is Race the Sun (#EEF3D0), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 19.08:1).
#F0F8D4 color codes
| HEX | #F0F8D4 | |
|---|---|---|
| RGB | rgb(240, 248, 212) | |
| RGB percent | rgb(94.1%, 97.3%, 83.1%) | |
| HSL | hsl(73, 72%, 90%) | |
| HSV / HSB | hsv(73, 15%, 97%) | |
| CMYK | cmyk(3%, 0%, 15%, 3%) | |
| CIE LAB | lab(96.17, -8.69, 16.42) | |
| CIE LCH | lch(96.17, 18.58, 117.89) | |
| CIE XYZ | xyz(81.385, 90.414, 75.439) | |
| Decimal | 15792340 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F0F8D4, 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 #F0F8D4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.08:1 | Pass | Pass | Pass |
| Sample text | 1.1:1 | Fail | Fail | Fail |
| #F0F8D4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.08: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 #F0F8D4 looks to people with the most common types of color vision deficiency.
#fdf4d2Protanopia
no red cones#fdf4d5Deuteranopia
no green cones#f4f4eeTritanopia
no blue cones#f4f4f4Achromatopsia
no color vision
CSS examples
.background { background-color: #f0f8d4; }
.text { color: #f0f8d4; }
.border { border: 2px solid #f0f8d4; }
.transparent { background-color: rgb(240 248 212 / 50%); }
.gradient { background: linear-gradient(to right, #f0f8d4, #def8d4); }
Similar colors
#eef3d0Race the Sun#edf6dbFuton#fafad2Light Goldenrod Yellow#f2f6dbSprig of Sage#fcfcdaGood Morning#f1f5dbFinal Departure#eeeeccSilkworm#f7f6d5Rising Star
Questions
- What color is #F0F8D4?
- #F0F8D4 is a very light, moderate yellow-green, closest to the named color Race the Sun. It belongs to the green family of colors.
- What is the RGB value of #F0F8D4?
- The RGB value is 240, 248, 212: 240 red, 248 green and 212 blue on a 0 to 255 scale.
- What is the complementary color of #F0F8D4?
- The complementary color is #DCD4F8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F0F8D4?
- Black text. Black text has a contrast ratio of 19.08:1 and white text 1.1:1. WCAG asks for at least 4.5:1 for normal text.