Corn color: hex code #FBEC5D

#FBEC5D rgb(251, 236, 93)
Shades of yellow

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

In the RGB color model it is made of 98.4% red, 92.5% green and 36.5% blue (251, 236, 93).

Its hue angle is 54°, with 95% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 63% yellow and 2% black.

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

Corn (#FBEC5D) color codes

HEX#FBEC5D
RGBrgb(251, 236, 93)
RGB percentrgb(98.4%, 92.5%, 36.5%)
HSLhsl(54, 95%, 67%)
HSV / HSBhsv(54, 63%, 98%)
CMYKcmyk(0%, 6%, 63%, 2%)
CIE LABlab(92.26, -11.37, 68.83)
CIE LCHlch(92.26, 69.76, 99.38)
CIE XYZxyz(71.758, 81.293, 22.265)
Decimal16510045
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with 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 #FBEC5DRatioAAAAAAA large
Sample text17.26:1PassPassPass
Sample text1.22:1FailFailFail
#FBEC5D as text onRatioAAAAAAA large
Sample text1.22:1FailFailFail
Sample text17.26: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 #FBEC5D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #fbec5d; }
.text { color: #fbec5d; }
.border { border: 2px solid #fbec5d; }
.transparent { background-color: rgb(251 236 93 / 50%); }
.gradient { background: linear-gradient(to right, #fbec5d, #bbfb5d); }
Background
Text color
Border

Similar colors

See #FBEC5D on its hex code page

Questions

What color is #FBEC5D?
#FBEC5D is a light, vivid yellow known as Corn. It belongs to the yellow family of colors.
What is the RGB value of Corn?
The RGB value is 251, 236, 93: 251 red, 236 green and 93 blue on a 0 to 255 scale.
What is the complementary color of Corn?
The complementary color is #5D6CFB, found by rotating the hue 180° on the color wheel.
Is black or white text better on #FBEC5D?
Black text. Black text has a contrast ratio of 17.26:1 and white text 1.22:1. WCAG asks for at least 4.5:1 for normal text.