Corn color: hex code #FBEC5D
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 | |
|---|---|---|
| RGB | rgb(251, 236, 93) | |
| RGB percent | rgb(98.4%, 92.5%, 36.5%) | |
| HSL | hsl(54, 95%, 67%) | |
| HSV / HSB | hsv(54, 63%, 98%) | |
| CMYK | cmyk(0%, 6%, 63%, 2%) | |
| CIE LAB | lab(92.26, -11.37, 68.83) | |
| CIE LCH | lch(92.26, 69.76, 99.38) | |
| CIE XYZ | xyz(71.758, 81.293, 22.265) | |
| Decimal | 16510045 | |
| Short hex | None (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 #FBEC5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.26:1 | Pass | Pass | Pass |
| Sample text | 1.22:1 | Fail | Fail | Fail |
| #FBEC5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.26: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 #FBEC5D looks to people with the most common types of color vision deficiency.
#ffe54bProtanopia
no red cones#ffec65Deuteranopia
no green cones#ffddceTritanopia
no blue cones#e9e9e9Achromatopsia
no color vision
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); }
Similar colors
#fbec5eMaizena#faee66Yellowish#f4e25aFlame Seal#f8e462Goldfinch#ffee44Hollandaise#fbf073Witch Hazel#fff44fLemon Yellow#f7eb73Limon
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.