Palette maker

Gold Gradient: Hex Codes, CSS and Color Combinations

A gold gradient blends a bright yellow into a deep amber, and the classic version runs (Light Gold) to (Gold) to (Dark Goldenrod). At 135 degrees it looks like warm light moving across polished metal.

Type
135°
 

More gold gradients to try

On this page
  1. Hex codes
  2. Metal look
  3. CSS
  4. Palettes
  5. Contrast
  6. Close colors
  7. Branding
  8. Interiors
  9. Printing
  10. Pairings
  11. Fixes
  12. FAQ

I’m Calder Wynne, and I’ve spent 12 years building color systems for brands, apps and print. Gold is the color clients request most often and the one that goes wrong most often. Use the gradient studio above to move the stops, change the angle or switch to radial, then copy the CSS. The rest of this page explains why these three colors work together and how to use them well.

Gold Gradient Hex Codes: The Three Core Colors

Each stop has a job. Light Gold is the highlight, a pale and slightly lemony yellow. Gold is the midtone, and the web color Gold is . Dark Goldenrod is the shadow, a burnt amber that leans toward brown. Both gold and darkgoldenrod are CSS keywords, so you can type the names directly.

Name HEX RGB HSL CMYK
Light Gold 255, 226, 89 50°, 100%, 67% 0, 11, 65, 0
Gold 255, 215, 0 51°, 100%, 50% 0, 16, 100, 0
Dark Goldenrod 184, 134, 11 43°, 89%, 38% 0, 27, 94, 28

The CMYK column is a plain mathematical conversion, so treat it as a starting point and not a promise of what a press will deliver. The useful detail is the hue. All three stops sit between 43 and 51 degrees, so only lightness and saturation change. That narrow band is why the blend feels like one material instead of three separate colors.

Why a Gold Gradient Looks Like Metal, Not Just Yellow

Real gold picks up its surroundings, so a polished bar shows dark edges and a bright reflective band. A gold gradient imitates that by moving from a dark tone to a bright highlight and back. A two-stop fade from yellow to brown reads as a sunset or a sticker, because the light never reverses.

Two gold gradient bars with hex stop pins, a flat two-stop fade above and a three-stop metal version below
A midpoint stop reverses the light, turning a flat gold fade into polished metal.

Classic gold-bar recipes lean on that reversal. One widely shared set runs , , , and , which alternates dark and light. You can get a quieter version from the core three by repeating the shadow on both ends: , , .

Three rules keep the effect convincing:

  • Keep every stop within about 10 degrees of hue.
  • Make the highlight a pale yellow, not white, because white pushes the result toward silver.
  • Let shadows lean toward amber or brown, because gray shadows make gold look dirty.
Lightness rule of thumb

Aim for a highlight near 65 to 70% lightness and a shadow near 35 to 40%. Light Gold (67%) and Dark Goldenrod (38%) sit right inside that range.

Copy-Ready CSS for a Gold Gradient

The default from the studio is a three-stop linear gradient. Put a flat color on the line above it so older browsers still show gold.

What makes a gold gradient read as metal rather than flat yellow?

Metal reflects light, so the gradient needs a highlight and shadow that reverse, not one smooth fade.

.gold {
  background-color: #FFD700;
  background: linear-gradient(135deg, #FFE259 0%, #FFD700 50%, #B8860B 100%);
}

The percentages place each stop. Moving the middle stop from 50% to 35% pulls the bright area toward the start and makes the surface look glossier.

Radial, conic and smoother blending

A radial gradient suits coins, round buttons and badges. A conic one gives a ring or medal sheen.

.coin {
  background: radial-gradient(circle at 30% 30%, #FFE259, #FFD700 45%, #B8860B);
}
.medal {
  background: conic-gradient(from 45deg, #B8860B, #FFE259, #B8860B, #FFE259, #B8860B);
}
.smooth {
  background: linear-gradient(in oklch 135deg, #FFE259, #FFD700, #B8860B);
}

The last rule asks the browser to blend in the OKLCH color space, which tends to keep lightness steady between stops. Current browsers support it, and older ones ignore the line, so keep a plain declaration above it.

Gold gradient text

.gold-text {
  background: linear-gradient(135deg, #FFE259, #FFD700, #B8860B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

Use gold text only at large sizes and on a dark background. Thin strokes lose their edges quickly.

Four Gold Palettes You Can Copy

These palettes start from the core gradient and add the supporting colors a real layout needs: a deep neutral, a soft base and a warm accent. Each one has five codes you can paste straight into a design tool.

Gold Bar

Premium buttons, badges and hero banners built around the core gradient.

Black Tie

Dark mode dashboards, invitations and luxury packaging with gold accents.

Champagne Toast

Wedding stationery, soft interiors and understated brand identities.

Honey Sunrise

Warm posters, food packaging and cheerful app onboarding screens.

A flatter, more muted gold often does better than on large surfaces. Metallic gold is , which is why it appears in the first and third palettes below.

Text Contrast on Gold: What Passes WCAG

I computed these ratios from the hex values using the WCAG formula. Black text measures about 16.3:1 on , about 15.0:1 on and about 6.5:1 on . That clears the 4.5:1 AA requirement across the whole gradient, and the first two stops also clear 7:1 for AAA.

Which label color is safest on a #FFD700 button?

Black on #FFD700 measures about 15:1, while white manages only about 1.4:1.

White text is the trap. It measures about 1.4:1 on and roughly 3.3:1 on , which only meets the 3:1 bar for large text and interface components. On a jeweler’s checkout I once inherited, the button was with a white label, and customers kept missing it. Switching the label to near-black fixed the contrast without touching the brand color.

Try this: Place a white label and a black label side by side on , then step back about two meters from your screen. Whichever one you have to squint at has failed.

Seven-step gold tint and shade ladder with hex codes and contrast ratios, showing text flipping from black to white
Black text passes on every gold tint and the base; white only wins at the deepest shade.

Gold vs Yellow, Orange, Bronze and Beige

Gold sits between pure yellow and orange, with a little brown in the shadows. Push the stops toward red and you get an orange gradient, which feels hotter and more playful. Push the shadow toward copper and red-brown and you are in bronze gradient territory, which reads older and heavier.

Desaturate the same idea and it turns soft and neutral, like a beige gradient. Shift the highlight toward lemon and pair it with a cool partner, and the result is closer to a yellow blue gradient.

Metallic gold is the closest everyday rival. In HSL it is 46°, 65%, 52%, so it is less saturated than (100% saturation). That lower saturation is why it looks more like real metal and less like paint.

Gold Gradients for Branding and Interface Design

Gold carries ideas of value, rank and celebration, so it works best on a few focal elements: a premium plan badge, a loyalty tier, a primary call to action or a ribbon. Spread across a whole page it turns tacky quickly. One gold surface per screen is a good limit.

Dark interfaces flatter gold most. On a background, measures about 13.5:1 and about 5.8:1, so even the darkest stop passes AA as text or an icon. Gold on white is the opposite story, because against white is only about 1.4:1. On light layouts, use gold for fills and borders and keep the text dark.

Gold in Interiors, Fashion and Art

In rooms, gold arrives as brass, gilded frames and satin-finished fixtures, and the “gradient” is the way light slides across the surface. A warm neutral wall such as oatmeal gives those finishes a calm backdrop. Matte paint rarely reproduces a metallic gradient, so choose a mid-tone like and let the lighting do the shading.

In fashion, ombré gold shows up in lamé fabric, foil prints and sequins that shift from pale champagne to deep amber. In art, gilding is the original gold gradient: Gustav Klimt’s The Kiss uses gold leaf, and tilting the surface changes which areas glow.

Printing a Gold Gradient Without Muddy Results

The CMYK values in the table above are where trouble starts. Printed as ink, and drift toward mustard and olive, because a screen can emit light and paper can only reflect it. A digital proof once came back from a client’s printer with the highlight looking like dried mustard, and the shadow looked like khaki.

Plan for this early. If gold matters, ask the printer about metallic ink or foil stamping, and design the gold as a spot color or a separate foil layer. Foil is a solid layer, so printers usually simulate the gradient with halftone dots or place the foil over a printed warm tint. For a standard CMYK job, approve a physical proof and keep the gradient subtle.

Colors That Pair Well With a Gold Gradient

Black and near-black are the safest partners because they make gold glow. Deep purple is the classic alternative: royal purple against gold feels regal, and the Minnesota Vikings colors show how recognizable the pairing is on a team palette.

For a cooler, more modern look, place gold on a gray gradient, which makes the gold seem warmer by contrast. Navy and forest green also work, as long as the gold stays small.

Common Gold Gradient Mistakes and Quick Fixes

Most bad gold gradients fail in the same few ways:

  • Pure white text on gold. Switch to black or very dark brown.
  • Gray or blue shadows. Move the dark stop back toward amber, like .
  • Too many stops placed close together, which creates stripes. Space them out.
  • Visible banding on large, low-contrast areas. A faint grain overlay hides it.
  • No fallback color, so the element disappears in old browsers. Add a flat background-color first.

Gold also looks different on every screen, so check your gradient on a phone and a laptop before you sign off.

The colors behind these gradients

Gold Gradient: questions people ask

What is the hex code for a gold gradient?

A reliable three-stop gold gradient uses #FFE259, #FFD700 and #B8860B. The first is the highlight, the second is the CSS named color gold, and the third is the shadow.

What is the CSS for a gold gradient?

Use background: linear-gradient(135deg, #FFE259 0%, #FFD700 50%, #B8860B 100%). Add a plain background-color of #FFD700 on the line above as a fallback.

How do I make a gold gradient look metallic?

Alternate light and dark stops so the light reverses, for example #B8860B, #FFE259, #B8860B. Keep every stop in the same narrow hue band so it looks like one material.

What text color works on a gold gradient?

Black or a very dark brown. Black measures about 15:1 on #FFD700 and about 6.5:1 on #B8860B, while white fails the standard 4.5:1 AA threshold on both.

What is the difference between gold and metallic gold?

Gold is #FFD700, a bright and saturated yellow. Metallic gold is usually #D4AF37, which is more muted and sits closer to how real gold looks in photographs.

Keep exploring