Skip to main content

Gold

#FFD700·yellow family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

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

Color Values

HEX
#FFD700
RGB
rgb(255, 215, 0)
HSL
hsl(51, 100%, 50%)
OKLCH
oklch(0.887 0.182 95)
CMYK
cmyk(0%, 16%, 100%, 0%)
Luminance:0.6986
CSS var:--color-gold
Tailwind:bg-[#FFD700]

Accessibility

Score: 48/100

On White (#FFF)

1.4:1

Fail

On Black (#000)

14.97:1

AAA

On Light Gray (#F5F5F5)

1.29:1

Fail

Best text color on this background:

black14.97:1
Open in Contrast Checker →

Design Applications

Background

background-color: #FFD700

Text Color

color: #FFD700

bg-[#FFD700] text-[#000000]

Accent border card component

border-left: 4px solid #FFD700

Color Meaning & Psychology

Gold is the color of the sun, of achievement, and of everything premium. Its warm metallic associations make it the universal standard for excellence — Gold records, Gold medals, Gold credit cards. In interface design, gold accents transform a neutral UI into something aspirational. Never use it ironically.

Industry Usage

Common contexts and industries where Gold is applied in professional design.

  • Award programs (Oscars, Grammys, Gold medals)
  • Premium credit card and financial product tiers
  • Luxury packaging and retail environments
  • Sports championship branding
  • Religious iconography and church design
  • Anniversary and milestone celebration branding
  • Premium spirits and liquor labels

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

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

CSS & Code Examples

Background

background-color: #FFD700;

Text

color: #FFD700;

Border

border: 2px solid #FFD700;

Box Shadow

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

Gradient

background: linear-gradient(135deg, #FFD700, #ffff52);

Tailwind-style

--color-gold: #FFD700;

Tailwind CSS Utilities

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

Background

bg-[#FFD700]

Text

text-[#FFD700]

Border

border-[#FFD700]

Ring

ring-[#FFD700]

Fill

fill-[#FFD700]

From (gradient)

from-[#FFD700]

Via (gradient)

via-[#FFD700]

To (gradient)

to-[#FFD700]

Design Tokens

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

CSS Custom Properties

:root {
  --color-gold: #FFD700;
  --color-gold-rgb: 255, 215, 0;
  --color-gold-hsl: 51, 100%, 50%;
}

SCSS Variables

$color-gold: #FFD700;
$color-gold-rgb: 255, 215, 0;
$color-gold-hsl: 51, 100%, 50%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'gold': '#FFD700',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-gold: #FFD700;
}

JSON Design Token (W3C format)

{
  "gold": {
    "value": "#FFD700",
    "type": "color",
    "description": "Gold — #FFD700"
  }
}

What Does Gold 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. Gold (#FFD700) occupies this zone with a medium 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.
  • Gold'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, Gold 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.

Use Gold as a declaration of optimism. In a palette that leads with it, everything else feels deliberate and alive.

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

Designers who use Gold effectively treat it like a spotlight: small, directed applications that create energy and focus without overwhelming the visual system.

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

Use Gold as a declaration of optimism. In a palette that leads with it, everything else feels deliberate and alive.

Gold Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Gold (#FFD700) achieves a 14.97: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: 69.9%.

  • As text on white (#FFFFFF): 1.40:1 — Fail
  • As text on black (#000000): 14.97:1 — AAA ✓
  • Best text color on Gold background: Black (#000000) at 14.97:1
  • WCAG 2.1 luminance: 69.9% — above-median luminance—it reads as a light to mid-tone background, compatible with dark text while retaining color personality
  • Gold 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.

For production use, test Gold against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.

Gold in Industry: Branding, Design & Market Applications

Gold'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: Whole Foods, Trader Joe's, 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: Gold 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, Gold works effectively in highlights, callout banners, brand accents—contexts where energy serves a secondary but reinforcing role.

For marketers and brand strategists, Gold 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 Gold?
The hex code for Gold is #FFD700. Its RGB values are rgb(255, 215, 0) and its HSL values are hsl(51, 100%, 50%).
What does Gold mean in design?
Gold is the color of the sun, of achievement, and of everything premium. Its warm metallic associations make it the universal standard for excellence — Gold records, Gold medals, Gold credit cards. In interface design, gold accents transform a neutral UI into something aspirational. Never use it ironically.
Is Gold WCAG accessible?
Gold (#FFD700) does not pass WCAG AA on white (1.4:1 ratio). Use it on dark backgrounds where it achieves 14.97:1. Its overall accessibility score is 48/100.
What colors go well with Gold?
Gold pairs well with its complementary color Persian Blue (#1C39BB). Analogous colors like Dusty Pink and Navajo White also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Gold used for?
Gold is commonly used for: Award programs (Oscars, Grammys, Gold medals); Premium credit card and financial product tiers; Luxury packaging and retail environments; Sports championship branding; Religious iconography and church design.
What are the CSS and Tailwind values for Gold?
In CSS, use `color: #FFD700` or `background-color: #FFD700`. The CSS custom property is `--color-gold: #FFD700`. In Tailwind CSS, use the arbitrary value class `bg-[#FFD700]` for backgrounds or `text-[#FFD700]` for text.