Skip to main content

Golden Yellow

#FFDF00·yellow family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

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

Color Values

HEX
#FFDF00
RGB
rgb(255, 223, 0)
HSL
hsl(52, 100%, 50%)
OKLCH
oklch(0.903 0.187 99)
CMYK
cmyk(0%, 13%, 100%, 0%)
Luminance:0.7404
CSS var:--color-golden-yellow
Tailwind:bg-[#FFDF00]

Accessibility

Score: 48/100

On White (#FFF)

1.33:1

Fail

On Black (#000)

15.81:1

AAA

On Light Gray (#F5F5F5)

1.22:1

Fail

Best text color on this background:

black15.81:1
Open in Contrast Checker →

Design Applications

Background

background-color: #FFDF00

Text Color

color: #FFDF00

bg-[#FFDF00] text-[#000000]

Accent border card component

border-left: 4px solid #FFDF00

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. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.

Industry Usage

Common contexts and industries where Golden 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

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

CSS & Code Examples

Background

background-color: #FFDF00;

Text

color: #FFDF00;

Border

border: 2px solid #FFDF00;

Box Shadow

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

Gradient

background: linear-gradient(135deg, #FFDF00, #ffff54);

Tailwind-style

--color-golden-yellow: #FFDF00;

Tailwind CSS Utilities

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

Background

bg-[#FFDF00]

Text

text-[#FFDF00]

Border

border-[#FFDF00]

Ring

ring-[#FFDF00]

Fill

fill-[#FFDF00]

From (gradient)

from-[#FFDF00]

Via (gradient)

via-[#FFDF00]

To (gradient)

to-[#FFDF00]

Design Tokens

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

CSS Custom Properties

:root {
  --color-golden-yellow: #FFDF00;
  --color-golden-yellow-rgb: 255, 223, 0;
  --color-golden-yellow-hsl: 52, 100%, 50%;
}

SCSS Variables

$color-golden-yellow: #FFDF00;
$color-golden-yellow-rgb: 255, 223, 0;
$color-golden-yellow-hsl: 52, 100%, 50%;

Tailwind v3 Config

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

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-golden-yellow: #FFDF00;
}

JSON Design Token (W3C format)

{
  "golden-yellow": {
    "value": "#FFDF00",
    "type": "color",
    "description": "Golden Yellow — #FFDF00"
  }
}

What Does Golden 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. Golden Yellow (#FFDF00) occupies this zone with a medium quality that reads as energy: 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.
  • Golden Yellow's medium lightness (50%) shifts its psychological register: a balanced mid-tone that embodies optimism, clarity, intellect, and caution at its most direct.
  • At 100% saturation, Golden 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.

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

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

Golden 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—Golden Yellow performs reliably in all these roles with its medium tonal character.
  • Brand & identity: highlights, callout banners, brand accents—contexts where Golden Yellow's vivid quality creates the right register.
  • Typography: Golden Yellow as text requires a dark background; its 50% lightness means it provides 1.3:1 contrast on white, not meeting WCAG AA.
  • Golden Yellow creates strong legibility with black text overlays (15.8:1 contrast ratio), making it a reliable background or surface color in design systems
  • Proportional use: Golden Yellow's vivid saturation (100%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.

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

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

Golden Yellow (#FFDF00) achieves a 15.81: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: 74.0%.

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

Golden Yellow in Industry: Branding, Design & Market Applications

Golden Yellow's brand positioning falls squarely in the territory of optimism, clarity, intellect, and caution. Industry data supports its strongest performance in education, food, safety & construction categories, where the vivid saturation calibrates the message at a medium, considered level.

  • 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: Golden 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, Golden Yellow works effectively in caution signage, pricing emphasis, sticky notes/productivity—contexts where intellect serves a secondary but reinforcing role.

For marketers and brand strategists, Golden Yellow is a commitment to optimism, clarity, intellect, and caution. Match it with industries that make that promise and it will pay dividends consistently.

Frequently Asked Questions

What is the hex code for Golden Yellow?
The hex code for Golden Yellow is #FFDF00. Its RGB values are rgb(255, 223, 0) and its HSL values are hsl(52, 100%, 50%).
What does Golden 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. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.
Is Golden Yellow WCAG accessible?
Golden Yellow (#FFDF00) does not pass WCAG AA on white (1.33:1 ratio). Use it on dark backgrounds where it achieves 15.81:1. Its overall accessibility score is 48/100.
What colors go well with Golden Yellow?
Golden Yellow pairs well with its complementary color Zaffre (#0014A8). Analogous colors like Persimmon and Khaki also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Golden Yellow used for?
Golden 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 Golden Yellow?
In CSS, use `color: #FFDF00` or `background-color: #FFDF00`. The CSS custom property is `--color-golden-yellow: #FFDF00`. In Tailwind CSS, use the arbitrary value class `bg-[#FFDF00]` for backgrounds or `text-[#FFDF00]` for text.