#F0E68C color
The hex color #F0E68C is a light, moderate yellow.
In the RGB color model it is made of 94.1% red, 90.2% green and 54.9% blue (240, 230, 140).
Its hue angle is 54°, with 77% saturation and 75% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 42% yellow and 6% black.
This exact color is also called Cornflake.
Black text is the more readable choice on this background (contrast 16.4:1).
#F0E68C color codes
| HEX | #F0E68C | |
|---|---|---|
| RGB | rgb(240, 230, 140) | |
| RGB percent | rgb(94.1%, 90.2%, 54.9%) | |
| HSL | hsl(54, 77%, 75%) | |
| HSV / HSB | hsv(54, 42%, 94%) | |
| CMYK | cmyk(0%, 4%, 42%, 6%) | |
| CIE LAB | lab(90.33, -9.01, 44.98) | |
| CIE LCH | lch(90.33, 45.87, 101.33) | |
| CIE XYZ | xyz(68.967, 77.014, 36.038) | |
| Decimal | 15787660 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F0E68C, 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 #F0E68C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.4:1 | Pass | Pass | Pass |
| Sample text | 1.28:1 | Fail | Fail | Fail |
| #F0E68C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.4: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 #F0E68C looks to people with the most common types of color vision deficiency.
#f5e085Protanopia
no red cones#f8e690Deuteranopia
no green cones#fddbd0Tritanopia
no blue cones#e3e3e3Achromatopsia
no color vision
CSS examples
.background { background-color: #f0e68c; }
.text { color: #f0e68c; }
.border { border: 2px solid #f0e68c; }
.transparent { background-color: rgb(240 230 140 / 50%); }
.gradient { background: linear-gradient(to right, #f0e68c, #c8f08c); }
Similar colors
#f2e688Templar’s Gold#f2e887King’s Field#ece086Gold Grillz#eae583Hippy#f1e798First Day of Summer#e6e382Yellow Press#fbe98eChickery Chick#f6e491Beekeeper
Closest common color name: Pale Goldenrod.
Questions
- What color is #F0E68C?
- #F0E68C is a light, moderate yellow known as Cornflake. It belongs to the yellow family of colors.
- What is the RGB value of #F0E68C?
- The RGB value is 240, 230, 140: 240 red, 230 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #F0E68C?
- The complementary color is #8C96F0, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F0E68C?
- Black text. Black text has a contrast ratio of 16.4:1 and white text 1.28:1. WCAG asks for at least 4.5:1 for normal text.