YELLOW

Corn

#FBEC5D
Conversions
HEX#FBEC5D
RGBrgb(251, 236, 93)
HSLhsl(54, 95%, 67%)
HSVhsv(54, 63%, 98%)
CMYKcmyk(0%, 6%, 63%, 2%)
Copy CSS
color: #fbec5d; /* rgb */ color: rgb(251, 236, 93); /* hsl */ color: hsl(54, 95%, 67%);
Contrast
On whiteFail · 1.22 : 1
On ink blackPass · 15.73 : 1
Shades
Tints
Pairings

About Corn

Corn is the hex color #FBEC5D, which translates to rgb(251, 236, 93) in RGB and hsl(54, 95%, 67%) in HSL. On the color wheel it sits at 54 degrees, with a saturation of 95 percent and a lightness of 67 percent. That combination gives Corn a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.

How Corn compares

The closest standard CSS keyword is gold (#FFD700), a CIE76 distance of 21.3 away in CIELAB. That is a visible difference, so the keyword is not a substitute here. In the Tailwind CSS 4.3.1 palette the nearest token is yellow-200 (#FFF085), at a distance of 16.0. Inside this library the closest neighbour is Lemon at 8.7. Sorted by lightness, Corn is number 12 of the 18 yellow colors here.

Text on Corn

2 of the five common text colors below clear WCAG AA for normal text on Corn, led by Ink black at 15.73:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Corn already loaded as the background.

Contrast of common text colors on Corn. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF1.22:1FailFailFail
Ink black #0F0F1215.73:1PassPassPass
Mid grey #6B72803.97:1FailPassFail
Dark grey #3741518.47:1PassPassPass
Light grey #E5E7EB1.02:1FailFailFail

Building a palette around Corn

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Corn for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Corn

FormatValue
HEX#FBEC5D
RGBrgb(251, 236, 93)
HSLhsl(54, 95%, 67%)
HSVhsv(54, 63%, 98%)
CMYKcmyk(0%, 6%, 63%, 2%)
OKLCHoklch(92.94% 0.1606 103.32)
CIELABlab(92.26 -11.37 68.83)

Use Corn in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.