Sweet Corn color: hex code #F9E176

#F9E176 rgb(249, 225, 118)
Shades of yellow

Sweet Corn has the hex code #F9E176. It is a light, vivid yellow.

In the RGB color model it is made of 97.6% red, 88.2% green and 46.3% blue (249, 225, 118).

Its hue angle is 49°, with 92% saturation and 72% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 53% yellow and 2% black.

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

Sweet Corn (#F9E176) color codes

HEX#F9E176
RGBrgb(249, 225, 118)
RGB percentrgb(97.6%, 88.2%, 46.3%)
HSLhsl(49, 92%, 72%)
HSV / HSBhsv(49, 53%, 98%)
CMYKcmyk(0%, 10%, 53%, 2%)
CIE LABlab(89.53, -4.94, 54.74)
CIE LCHlch(89.53, 54.96, 95.16)
CIE XYZxyz(69.265, 75.301, 28.022)
Decimal16376182
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Sweet Corn, 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 #F9E176RatioAAAAAAA large
Sample text16.06:1PassPassPass
Sample text1.31:1FailFailFail
#F9E176 as text onRatioAAAAAAA large
Sample text1.31:1FailFailFail
Sample text16.06: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 #F9E176 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #f9e176; }
.text { color: #f9e176; }
.border { border: 2px solid #f9e176; }
.transparent { background-color: rgb(249 225 118 / 50%); }
.gradient { background: linear-gradient(to right, #f9e176, #d0f976); }
Background
Text color
Border

Similar colors

Closest common color name: Mustard.

See #F9E176 on its hex code page

Questions

What color is #F9E176?
#F9E176 is a light, vivid yellow known as Sweet Corn. It belongs to the yellow family of colors.
What is the RGB value of Sweet Corn?
The RGB value is 249, 225, 118: 249 red, 225 green and 118 blue on a 0 to 255 scale.
What is the complementary color of Sweet Corn?
The complementary color is #768EF9, found by rotating the hue 180° on the color wheel.
Is black or white text better on #F9E176?
Black text. Black text has a contrast ratio of 16.06:1 and white text 1.31:1. WCAG asks for at least 4.5:1 for normal text.