Corn (#FBEC5D)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 1.22:1 — vs black: 17.26:1

Color values

  • HEX #FBEC5D
  • RGB rgb(251, 236, 93)
  • HSL hsl(54, 95%, 67%)
  • CMYK cmyk( 0, 6, 63, 2 )
  • Websafe #FFFF66

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #FBEC5D based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Corn
#FBEC5D Base
#5D6CFB
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Corn
#FBEC5D Base
#FB9D5D
#BBFB5D
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Corn
#FBEC5D Base
#5DFBEC
#EC5DFB
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Corn
#FBEC5D Base
#5DBBFB
#9D5DFB
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Corn
#FBEC5D Base
#5DFB9D
#5D6CFB
#FB5DBB
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Corn
#FBEC5D Base
#BAA905
#F9E312
#FAE735
#FCF185
#FDF5A8
#FEFCE6
Shades & Tints

Darker shades and lighter tints of Corn, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#191701
#574F02
#958704
#D3C005
#F9E51F
Corn #FBEC5D Base
#FCEF78
#FCF294
#FDF6AF
#FEF9CB
#FEFCE6
CSS & SCSS Snippets

Ready-to-use code snippets for #FBEC5D. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #FBEC5D;
}

/* Text */
.element {
    color: #FBEC5D;
}

/* Border */
.element {
    border: 1px solid #FBEC5D;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #FBEC5D,
        #5D6CFB
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #FBEC5D,
        #5D6CFB
    );
}
SCSS Variable
// SCSS variable
$corn: #FBEC5D;

// With RGB channels (useful for rgba() usage)
$corn-r: 251;
$corn-g: 236;
$corn-b: 93;

// Usage
.element {
    background-color: $corn;
    color: rgba($corn-r, $corn-g, $corn-b, 0.8);
}
Color Blindness Simulation

How Corn appears to people with different types of color vision deficiency.

Normal Vision #FBEC5D How the color appears with full color vision.
Deuteranopia #F0F05C Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #EEEE5D Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #FFE0E0 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #E9E9E9 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Corn ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Corn #FBEC5D Base
Lemon Yellow #FFF44F ΔE 2.52
Icterine #FCF75E ΔE 3.10
Dandelion #F0E130 ΔE 3.61
Banana Yellow #FFE135 ΔE 4.79

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.