Cornflake color: hex code #F0E68C

#F0E68C rgb(240, 230, 140)
Shades of yellow

Cornflake has the hex code #F0E68C. It 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.

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

Cornflake (#F0E68C) color codes

HEX#F0E68C
RGBrgb(240, 230, 140)
RGB percentrgb(94.1%, 90.2%, 54.9%)
HSLhsl(54, 77%, 75%)
HSV / HSBhsv(54, 42%, 94%)
CMYKcmyk(0%, 4%, 42%, 6%)
CIE LABlab(90.33, -9.01, 44.98)
CIE LCHlch(90.33, 45.87, 101.33)
CIE XYZxyz(68.967, 77.014, 36.038)
Decimal15787660
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Cornflake, 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 #F0E68CRatioAAAAAAA large
Sample text16.4:1PassPassPass
Sample text1.28:1FailFailFail
#F0E68C as text onRatioAAAAAAA large
Sample text1.28:1FailFailFail
Sample text16.4: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 #F0E68C looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

Closest common color name: Pale Goldenrod.

See #F0E68C on its hex code page

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 Cornflake?
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 Cornflake?
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.