Skip to main content

Pastel Yellow

#FDFD96·yellow family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

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

Color Values

HEX
#FDFD96
RGB
rgb(253, 253, 150)
HSL
hsl(60, 96%, 79%)
OKLCH
oklch(0.972 0.126 109)
CMYK
cmyk(0%, 0%, 41%, 1%)
Luminance:0.9334
CSS var:--color-pastel-yellow
Tailwind:bg-[#FDFD96]

Accessibility

Score: 48/100

On White (#FFF)

1.07:1

Fail

On Black (#000)

19.67:1

AAA

On Light Gray (#F5F5F5)

1.02:1

Fail

Best text color on this background:

black19.67:1
Open in Contrast Checker →

Design Applications

Background

background-color: #FDFD96

Text Color

color: #FDFD96

bg-[#FDFD96] text-[#000000]

Accent border card component

border-left: 4px solid #FDFD96

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 Pastel 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

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

CSS & Code Examples

Background

background-color: #FDFD96;

Text

color: #FDFD96;

Border

border: 2px solid #FDFD96;

Box Shadow

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

Gradient

background: linear-gradient(135deg, #FDFD96, #ffffc8);

Tailwind-style

--color-pastel-yellow: #FDFD96;

Tailwind CSS Utilities

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

Background

bg-[#FDFD96]

Text

text-[#FDFD96]

Border

border-[#FDFD96]

Ring

ring-[#FDFD96]

Fill

fill-[#FDFD96]

From (gradient)

from-[#FDFD96]

Via (gradient)

via-[#FDFD96]

To (gradient)

to-[#FDFD96]

Design Tokens

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

CSS Custom Properties

:root {
  --color-pastel-yellow: #FDFD96;
  --color-pastel-yellow-rgb: 253, 253, 150;
  --color-pastel-yellow-hsl: 60, 96%, 79%;
}

SCSS Variables

$color-pastel-yellow: #FDFD96;
$color-pastel-yellow-rgb: 253, 253, 150;
$color-pastel-yellow-hsl: 60, 96%, 79%;

Tailwind v3 Config

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

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-pastel-yellow: #FDFD96;
}

JSON Design Token (W3C format)

{
  "pastel-yellow": {
    "value": "#FDFD96",
    "type": "color",
    "description": "Pastel Yellow — #FDFD96"
  }
}

What Does Pastel Yellow Mean? Color Psychology & Cultural Symbolism

The psychology of Pastel Yellow is built on light itself. Yellow-family hues mimic solar radiation in the human visual system, triggering associations with warmth, clarity, and open space that surface as intellect without deliberate thought.

  • 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.
  • Pastel Yellow's light lightness (79%) 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 96% saturation, Pastel 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.

The power of Pastel Yellow lies in selective deployment—too much and it fatigues, too little and the energy dissipates. Find the balance.

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

The accessibility challenge with yellow is real—most yellow tones fail WCAG contrast requirements on white—but Pastel Yellow's value as a highlight, background, and accent color is unmatched in creating optimistic, high-energy palettes.

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

The power of Pastel Yellow lies in selective deployment—too much and it fatigues, too little and the energy dissipates. Find the balance.

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

Pastel Yellow (#FDFD96) achieves a 19.67: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: 93.3%.

  • As text on white (#FFFFFF): 1.07:1 — Fail
  • As text on black (#000000): 19.67:1 — AAA ✓
  • Best text color on Pastel Yellow background: Black (#000000) at 19.67:1
  • WCAG 2.1 luminance: 93.3% — high-luminance (near-white)—it provides excellent readability for dark text overlays and integrates naturally into light design systems
  • Pastel 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.

Pastel Yellow's WCAG profile makes it a compliant choice for most text applications.

Pastel 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. Pastel 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: Chegg, Khan Academy, Coursera) 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: Pastel Yellow is best suited for brands projecting approachability, energy, clarity. Categories outside this positioning—body text on white (extremely poor contrast)—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Pastel Yellow works effectively in caution signage, pricing emphasis, sticky notes/productivity—contexts where brightness serves a secondary but reinforcing role.

Pastel 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 Pastel Yellow?
The hex code for Pastel Yellow is #FDFD96. Its RGB values are rgb(253, 253, 150) and its HSL values are hsl(60, 96%, 79%).
What does Pastel 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 Pastel Yellow WCAG accessible?
Pastel Yellow (#FDFD96) does not pass WCAG AA on white (1.07:1 ratio). Use it on dark backgrounds where it achieves 19.67:1. Its overall accessibility score is 48/100.
What colors go well with Pastel Yellow?
Pastel Yellow pairs well with its complementary color Blue (#0000FF). Analogous colors like Mushroom and Off White also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Pastel Yellow used for?
Pastel 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 Pastel Yellow?
In CSS, use `color: #FDFD96` or `background-color: #FDFD96`. The CSS custom property is `--color-pastel-yellow: #FDFD96`. In Tailwind CSS, use the arbitrary value class `bg-[#FDFD96]` for backgrounds or `text-[#FDFD96]` for text.