Gold Color Code in RGB: Standard Values and How to Use Them in a Vector Logo
The standard RGB code for gold is rgb(255, 215, 0), HEX #FFD700. See the related gold values, why a metallic gold can't be shown as one flat RGB color, and how to set gold up in vector logo files.
Contents
The Short Answer
The most widely recognized RGB code for gold is rgb(255, 215, 0), which is #FFD700 in HEX. It is the value assigned to the named color "gold" in the CSS color specification, so browsers, design tools and code libraries all treat it the same way. If you need one standard gold for screen use, this is it.
"Gold" is not a single fixed color, though. The standard value is a bright, saturated yellow-gold. Many logos use a deeper, warmer or more muted gold, and those are separate color choices with their own codes, not variations of one official value.
Related Gold Values Defined in CSS
The CSS named-color list includes several gold-family colors. Because they are part of a published standard, they are a dependable starting point when building a palette:
| Name | RGB | HEX | Character |
| gold | 255, 215, 0 | #FFD700 | Bright, saturated yellow-gold |
| goldenrod | 218, 165, 32 | #DAA520 | Warmer, slightly deeper gold |
| darkgoldenrod | 184, 134, 11 | #B8860B | Dark, brownish gold |
| palegoldenrod | 238, 232, 170 | #EEE8AA | Light, washed-out gold |
Outside the CSS list, #D4AF37 (rgb 212, 175, 55) is often called "metallic gold." It is a common design convention, not a value from any standards body, so treat it as one option rather than a definitive answer.
Why One RGB Code Can't Look Metallic
Real gold looks the way it does because it reflects light: highlights, shadows and sheen change as the viewing angle changes. An RGB value describes one flat color on a screen and has no reflective quality. A single flat gold therefore tends to look yellow, ochre or brown rather than metallic.
Designers usually simulate a metallic look on screen with a gradient that moves between a light highlight gold, a mid gold and a darker shadow gold. This is a visual effect only. In print, true metallic gold is produced with a metallic spot ink or a foil, and RGB values cannot specify those.
Setting Up Gold in a Vector Logo File
- Choose the document color mode for the intended output. Use RGB for screen deliverables and convert deliberately for print, rather than letting software convert automatically.
- Define gold as a named global swatch in your vector editor. Every shape using it then updates together if the value changes.
- If you use a gradient for a metallic effect, also prepare a flat-color version. Gradients can fail at small sizes, in single-color applications and in embroidery or signage.
- For print, specify a spot or metallic ink reference separately. Do not assume an RGB gold converts to a pleasing CMYK equivalent. The result depends on the color profile and printing conditions, and no single conversion is universally correct.
- Check that the gold elements are actual vector fills. A gold texture or photo of foil placed inside a logo is an embedded raster image. It won't scale cleanly and can't be recolored like a vector fill. A file extension such as AI, EPS, SVG or PDF does not guarantee that the content is vector.
Using Gold in Code
For web or app work, the standard gold can be written in any of these equivalent forms:
color: gold;
color: #FFD700;
color: rgb(255, 215, 0);
In an SVG logo, the same values can be used in fill or stroke attributes, for example fill="#FFD700".
Matching an Existing Brand's Gold
If you are trying to match the gold in a specific company's logo, the standard CSS values above are probably not that brand's color. The reliable source is the brand's own guidelines, which normally list RGB, HEX, CMYK and spot-ink references. Sampling color from a screenshot or a raster preview gives approximate values that are affected by compression and display settings. This article does not include any brand's official gold values.
Being able to download a logo file also doesn't mean you may modify it, recolor it or reuse its artwork, fonts or trademark. Those rights are governed separately by the owner's license and usage terms.