On this page
Below you will find every code format, the difference between the two golds, working CSS, real contrast ratios and print advice. If you want to test harmonies right away, the palette maker above builds monochrome, analogous, complementary, triadic and split palettes from with copyable codes.
Gold Color Codes: HEX, RGB, HSL and CMYK
Gold on screen is built from full red, a high amount of green and no blue at all. That is why it feels so bright and warm: with the blue channel at zero, nothing dulls it. The hue sits at roughly 51 degrees on the color wheel, between amber and yellow.
| Format | Gold value |
|---|---|
| HEX | |
| RGB | 255, 215, 0 |
| HSL | 51°, 100%, 50% |
| HSV | 51°, 100%, 100% |
| CMYK (simple conversion) | 0, 16, 100, 0 |
| Decimal | 16766720 |
| CSS name | gold |
The CMYK line is a mathematical conversion, not a press-ready recipe. Real print results depend on the paper and the profile, and I cover that below.
Web Gold vs Metallic Gold: Why There Are Two Codes
Most confusion about gold comes from the fact that “gold” means two things. Web gold, , is a flat, saturated yellow-orange defined for screens. Metallic gold, (rgb 212, 175, 55, hsl 46°, 65%, 52%), is a duller, browner color that simulates the metal itself. Its source is the ISCC-NBS color dictionary from 1955, which stamp collectors used to identify colors.
Which code is the better starting point if you want a color that reads like real metal?
#D4AF37 has some blue and a lower saturation, which gives the brownish depth of the real metal.
Real gold looks metallic because of reflection: bright highlights, dark shadows and warm mid-tones in one surface. A single hex code can never show that. So reads as cheerful and energetic, while reads as expensive and calm. Pick based on the mood you want, not on which one is called “gold”.

:root {
--gold-bright: #FFD700;
--gold-metal: #D4AF37;
}
Gold Next to Its Closest Color Cousins
Gold sits in a crowded neighborhood of yellows, ambers and browns, and small shifts change the feel a lot. These are the ones people confuse most often:
- Golden yellow is a little lighter and leans lemon.
- Goldenrod is warmer and darker, named after the flower.
- Amber moves clearly toward orange.
- Old gold is muted and slightly olive, good for vintage looks.
- Dark goldenrod is brownish and works for text and shadows.
Brass is the cousin most often mistaken for gold: it is greener and flatter, with an industrial feel. For the other classic metals, compare it with silver for a cool counterpart, and rose gold for a pinker, softer sibling.
What Gold Means and Where the Name Comes From
The color takes its name from the element gold (symbol Au, atomic number 79), and it has stood for wealth, achievement and the divine for a very long time. Today the strongest everyday link is the first-place medal, along with awards, anniversaries and premium products. In traditional usage, “gold” usually means the metallic shade rather than the bright web color.
As a color name, goldenrod appeared in English around 1915, borrowed from the deeper-colored flowers of the same name. The bright web gold is a more recent screen-era standard. It belongs to the sunny end of the spectrum, and the sun colors page shows how close it sits to daylight yellows and oranges.
With a hue near 51 degrees and no blue, gold is firmly warm. It feels welcoming next to cool navy and cozy next to deep red.
Colors That Go With Gold
Gold needs a partner that lets it glow. The strict complementary color of is a vivid blue, . It is exciting, though usually too intense for large areas. A triadic scheme gives and , which is better as a poster concept than a brand system. For most real work, use gold as the accent and let a deep, quiet color do the heavy lifting.
These pairings are reliable:
- Navy, which makes gold feel calm and authoritative (see navy and black for ready combinations).
- Near-black such as , for drama and a luxury look.
- Forest green, which gives a heritage, holiday feel (explore forest green).
- Burgundy, for warmth in restaurants and wine labels.
- Cream such as , for a soft, wedding-style look.
How to Make Gold Look Metallic on Screen
To fake metal on a screen, you layer several tones in a gradient. A pale highlight, the base gold and a darker brown shadow are enough to suggest a reflective surface. This works well on buttons, badges and headlines:
.gold-foil {
background: linear-gradient(135deg,
#FFF3B0 0%, #FFD700 35%, #B8860B 70%, #FFE680 100%);
}
Keep the angle at 120 to 150 degrees, and avoid more than four stops, or the effect turns busy. For gold text, add -webkit-background-clip: text and a transparent text color, then check the contrast. The same layering idea builds chrome and steel, and the gray gradient page shows it with cool tones.
Try this: Create two buttons with the same label. Fill one with flat and the other with the gradient above. Show both to a friend and ask which looks more expensive.
Gold Contrast and WCAG: What Actually Passes
Gold is a light color in terms of luminance, so it behaves like yellow in accessibility tests. I calculated these ratios from the hex codes. on white is about 1.4:1, which fails everything. On black it reaches about 15.0:1, on navy about 11.4:1 and with near-black text on a gold background about 12.4:1. Metallic gold on white is about 2.1:1, so it also fails.
Roughly what contrast ratio does #FFD700 text have on a white background?
Gold is very light in luminance, so on white it fails every WCAG text threshold.
WCAG AA asks for 4.5:1 for normal text and 3:1 for large text and interface components. On a loyalty app I worked on, gold labels on white cards were unreadable for many users. The fix was simple: gold became the badge fill with dark text on top, and gold-toned text links used , which reaches about 6.2:1 on white. The look stayed warm and the contrast problem vanished.
Using Gold in Branding, Interiors and Fashion
In branding, gold works best as a signal, not a surface. A thin line, a logo mark or a button highlight makes it feel special, while a fully gold background tends to look loud. In UI, keep one gold accent per screen, use it for the thing you want noticed, and pair it with dark neutrals. Finance, jewelry, hospitality and premium retail lean on it because it signals value quickly.
In interiors, gold usually arrives as lamps, frames, mirror edges and faucets, and it looks good against navy, green or warm white walls. Try it with espresso brown for a cozy, library-like mood. In fashion, gold jewelry and mustard knits pair with navy, black, cream and burgundy. Mixing metals is fine if you do it on purpose, for example in a two-tone watch.
Printing Gold: Why CMYK Falls Short
There is no metallic ink in standard CMYK. The conversion of gives about 0, 16, 100, 0, and that prints as a bright yellow-orange, not as metal. I once reviewed a packaging proof where a gold logo came back looking like mustard, and the client expected something shiny. We moved the logo to a foil stamp and the problem disappeared.
For a metallic effect you have three options: a spot metallic ink (Pantone 871 C is a common reference for metallic gold), hot foil stamping, or a CMYK simulation in a deeper tone such as for a more convincing look. Always request a physical proof, and test on both coated and uncoated paper, because the same file looks quite different on each.
Ready-to-Use Gold Color Palettes
The palettes below pair gold with the dark anchors and light neutrals that make it work. Each uses either web gold or metallic gold, plus a supporting color for text and backgrounds.
Premium app dashboards, invitations and finance brands that need calm authority.

Event posters, award graphics and luxury packaging with dramatic contrast.
Restaurant menus, holiday cards and heritage logos with a jewel-toned feel.
Friendly lifestyle sites, bakery branding and warm, cheerful illustration.
Copy any set straight into your design tool, and keep gold to about ten percent of the layout. If you need a bolder test, push the palette maker above toward its analogous and complementary options, then compare.
Colors close to gold
Gold Color: questions people ask
What is the hex code for gold?
The CSS named color gold is #FFD700, which is rgb(255, 215, 0). For a deeper gold that looks more like the metal, designers often use #D4AF37.
What is the RGB value of gold?
Web gold is rgb(255, 215, 0): full red, 215 of 255 green and no blue. Metallic gold is rgb(212, 175, 55).
What two colors make gold?
On screen, gold comes from mixing red and green light, with a bit less green than red. In paint, you get a gold-like tone by mixing yellow with a little orange or brown, though real metallic shine needs metallic pigment.
What colors go well with gold?
Navy, black, forest green, burgundy and cream all make gold look rich. Soft pink and warm white give a gentler, more modern result.
Is gold the same as yellow?
No. Gold at #FFD700 has a hue of about 51 degrees, which is slightly toward orange compared with pure yellow #FFFF00. Metallic golds go further, with lower saturation and a brownish depth.
Keep exploring
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes
- Lavender Color: Hex Code, RGB and Palettes
- Mint Green Color: Hex Code, RGB and Palettes
- Cream Color: Hex Code, RGB and Palettes
- Azure Blue Color: Hex Code, RGB and Palettes
- Pink and Purple Color Combination: Palettes and Hex Codes
- Skin Tone Hex Codes: Realistic Skin Color Palettes