Skip to main content

Corn Yellow

#FBE870·yellow family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Corn Yellow (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#FBE870
RGB
rgb(251, 232, 112)
HSL
hsl(52, 95%, 71%)
OKLCH
oklch(0.923 0.142 100)
CMYK
cmyk(0%, 8%, 55%, 2%)
Luminance:0.7939
CSS var:--color-corn-yellow
Tailwind:bg-[#FBE870]

Accessibility

Score: 48/100

On White (#FFF)

1.24:1

Fail

On Black (#000)

16.88:1

AAA

On Light Gray (#F5F5F5)

1.14:1

Fail

Best text color on this background:

black16.88:1
Open in Contrast Checker →

Design Applications

Background

background-color: #FBE870

Text Color

color: #FBE870

bg-[#FBE870] text-[#000000]

Accent border card component

border-left: 4px solid #FBE870

Color Meaning & Psychology

Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. Its lighter value makes it approachable and soft — suitable for backgrounds, secondary UI states, and contexts requiring the hue's character without full intensity.

Industry Usage

Common contexts and industries where Corn Yellow is applied in professional design.

  • Taxi and transportation services
  • Construction and heavy machinery
  • Children's education products and toys
  • Fast food and energy-focused brands
  • Caution and safety signage
  • Summer and outdoor lifestyle brands
  • Optimistic lifestyle and wellness brands
  • Creative agencies emphasizing ideas

Accessibility Considerations

Normal Text

Fails AA

4.5:1 minimum required

Large Text

Fails AA Large

3:1 minimum required

UI Components

Check contrast

3:1 for non-text UI

Corn Yellow is a light color. Use black (#000000) text on top of it for maximum readability (16.88:1). Avoid white text on this background.

CSS & Code Examples

Background

background-color: #FBE870;

Text

color: #FBE870;

Border

border: 2px solid #FBE870;

Box Shadow

box-shadow: 0 4px 20px #FBE87040;

Gradient

background: linear-gradient(135deg, #FBE870, #ffffa1);

Tailwind-style

--color-corn-yellow: #FBE870;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Corn Yellow without a custom config.

Background

bg-[#FBE870]

Text

text-[#FBE870]

Border

border-[#FBE870]

Ring

ring-[#FBE870]

Fill

fill-[#FBE870]

From (gradient)

from-[#FBE870]

Via (gradient)

via-[#FBE870]

To (gradient)

to-[#FBE870]

Design Tokens

Ready-to-use Corn Yellow design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-corn-yellow: #FBE870;
  --color-corn-yellow-rgb: 251, 232, 112;
  --color-corn-yellow-hsl: 52, 95%, 71%;
}

SCSS Variables

$color-corn-yellow: #FBE870;
$color-corn-yellow-rgb: 251, 232, 112;
$color-corn-yellow-hsl: 52, 95%, 71%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'corn-yellow': '#FBE870',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-corn-yellow: #FBE870;
}

JSON Design Token (W3C format)

{
  "corn-yellow": {
    "value": "#FBE870",
    "type": "color",
    "description": "Corn Yellow — #FBE870"
  }
}

What Does Corn Yellow Mean? Color Psychology & Cultural Symbolism

Yellow sits at the apex of human visual sensitivity—the wavelength the eye is most efficient at detecting in daylight. Corn Yellow (#FBE870) occupies this zone with a light quality that reads as intellect: a color perceived as much as experienced.

  • Yellow occupies a paradoxical space in Western symbolism—simultaneously the color of happiness, optimism, and cowardice. In commercial contexts it signals caution (traffic lights, hazard tape) and sale promotions. In consumer branding it communicates cheerfulness and energy.
  • In Chinese and many other East Asian cultures, yellow (and especially gold-yellow) historically signified royalty, prosperity, and imperial authority. In Buddhist traditions it represents wisdom and harmony.
  • Corn Yellow's light lightness (71%) shifts its psychological register: Pale yellow and champagne tones feel warm, neutral, and almost white—excellent for backgrounds, subtle warmth in neutral palettes, and understated accents.
  • At 95% saturation, Corn Yellow reads as vivid—Pure vivid yellow is the highest-chroma color the human eye perceives—it cannot be ignored and is physiologically stimulating, even more so than red in some attention research.

Corn Yellow is the color of first impressions—it arrives before everything else and sets the energy level for what follows.

How to Use Corn Yellow in Design: Applications, Pairings & Best Practices

Corn Yellow requires careful deployment in design—its high luminosity makes it nearly impossible to use as text on white backgrounds, but as an accent, background, or highlight it has no equal for drawing the eye.

  • UI components: warning states, highlights, feature callouts—Corn Yellow performs reliably in all these roles with its light tonal character.
  • Brand & identity: highlights, callout banners, brand accents—contexts where Corn Yellow's vivid quality creates the right register.
  • Typography: Corn Yellow as text requires a dark background; its 71% lightness means it provides 1.2:1 contrast on white, not meeting WCAG AA.
  • Corn Yellow creates strong legibility with black text overlays (16.9:1 contrast ratio), making it a reliable background or surface color in design systems
  • Proportional use: Corn Yellow's vivid saturation (95%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.

Corn Yellow is the color of first impressions—it arrives before everything else and sets the energy level for what follows.

Corn Yellow Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Corn Yellow (#FBE870) achieves a 16.88:1 contrast ratio with black text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 79.4%.

  • As text on white (#FFFFFF): 1.24:1 — Fail
  • As text on black (#000000): 16.88:1 — AAA ✓
  • Best text color on Corn Yellow background: Black (#000000) at 16.88:1
  • WCAG 2.1 luminance: 79.4% — high-luminance (near-white)—it provides excellent readability for dark text overlays and integrates naturally into light design systems
  • Corn Yellow qualifies for all text sizes including small body copy (AAA).
  • Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.

Always verify Corn Yellow at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.

Corn Yellow in Industry: Branding, Design & Market Applications

Across industry research, yellow-family tones consistently outperform competitors in categories built on optimism, clarity, intellect, and caution. Corn Yellow is a light expression of this advantage—best positioned in Food & Beverage and adjacent markets.

  • Food & Beverage: Yellow stimulates appetite and communicates freshness, especially for bakery, dairy, and snack categories. Its association with sunlight and ripe crops makes it an instinctive choice for natural and wholesome food brands. (examples: Chipotle, Sweetgreen, Blue Bottle Coffee) Extremely effective for children's food products; less effective for premium dining where it reads as casual.
  • Education & Children's Products: Yellow is cognitively stimulating and signals playfulness, making it a dominant choice in educational materials, children's toys, and learning apps. It creates an environment of curiosity and creative energy. (examples: Duolingo, Coursera, Khan Academy) Combine with blue for a classic educational palette that suggests both warmth and reliability.
  • Safety & Construction: Yellow is the universal signal for visibility and caution. High-visibility vests, construction equipment, and warning signage use yellow because it provides maximum contrast in low-light conditions and stands out in natural environments. This safety connotation can be leveraged in UX for warning states and "proceed with awareness" signals.
  • Brand positioning: Corn Yellow is best suited for brands projecting optimism, creativity, clarity. Categories outside this positioning—body text on white (extremely poor contrast)—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Corn Yellow works effectively in highlights, callout banners, brand accents—contexts where energy serves a secondary but reinforcing role.

Corn Yellow earns its strongest ROI in industries where trust and recognition compound over time: Food & Beverage, Education & Children's Products, Safety & Construction. Use it to build the kind of brand recognition that decades reinforce.

Frequently Asked Questions

What is the hex code for Corn Yellow?
The hex code for Corn Yellow is #FBE870. Its RGB values are rgb(251, 232, 112) and its HSL values are hsl(52, 95%, 71%).
What does Corn Yellow mean in design?
Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. Its lighter value makes it approachable and soft — suitable for backgrounds, secondary UI states, and contexts requiring the hue's character without full intensity.
Is Corn Yellow WCAG accessible?
Corn Yellow (#FBE870) does not pass WCAG AA on white (1.24:1 ratio). Use it on dark backgrounds where it achieves 16.88:1. Its overall accessibility score is 48/100.
What colors go well with Corn Yellow?
Corn Yellow pairs well with its complementary color Zaffre (#0014A8). Analogous colors like Pale Silver and Champagne also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Corn Yellow used for?
Corn Yellow is commonly used for: Taxi and transportation services; Construction and heavy machinery; Children's education products and toys; Fast food and energy-focused brands; Caution and safety signage.
What are the CSS and Tailwind values for Corn Yellow?
In CSS, use `color: #FBE870` or `background-color: #FBE870`. The CSS custom property is `--color-corn-yellow: #FBE870`. In Tailwind CSS, use the arbitrary value class `bg-[#FBE870]` for backgrounds or `text-[#FBE870]` for text.