Skip to content
MewixMewix

Gold color

The flat gold colour is #FFD700, the CSS keyword gold. Copy the values here; below is how to get a gold that actually looks metallic.

Updated by the Mewix team

Gold vs yellow

Yellow is #FFFF00: red and green at full strength. Gold drops the green to 215, which moves the hue from 60° to 51° and gives it a warm, orange cast. That small shift is what stops it looking like a highlighter. Even so, flat #FFD700 looks like yellow paint rather than metal, and the darker golds below are often more convincing.

NameHEXLightnessLooks like
yellow (CSS)#FFFF0050%Pure, cold yellow
gold (CSS)#FFD70050%Bright yellow-gold
goldenrod (CSS)#DAA52049%Warmer, more like old gold
darkgoldenrod (CSS)#B8860B38%Antique brass, gold in shadow

Making gold look metallic on screen

Metal is not a colour; it is reflections. A single flat value can never look shiny, so “metallic gold” on screens is always a gradient that runs from a light highlight through mid gold to a dark edge. A simple version uses three of the colours above:

background: linear-gradient(135deg, #FFD700 0%, #DAA520 50%, #B8860B 100%);

Adjust it live in the gradient generator. Adding a thin, almost-white stop near one edge sells the shine even more.

What gold pairs with

Gold#FFD700
Navy#000080
Black#000000
Burgundy#900020
Emerald#046307

Gold looks richest against deep colours: navy (gold text scores 11.41:1), black (14.97:1), burgundy and emerald. On white it nearly disappears, at just 1.40:1, so gold text on a white page is a mistake; use it for borders and icons there instead.

Questions

What is the RGB code for gold?

rgb(255, 215, 0); HSL hsl(51, 100%, 50%).

What colour text goes on a gold button?

Black or a very dark navy. White on gold is unreadable.