The hexadecimal code for gold is #FFD700. It refers to a golden-yellow color that is often used in web design, graphics, drawings, etc.
Gold Hex Code: Gold Color Code, Shades, And Color Combinations
You may have used gold many times before, but how often has it gone wrong in your design because you didn’t know enough about the color? You must be thinking...
You may have used gold many times before, but how often has it gone wrong in your design because you didn’t know enough about the color? You must be thinking now about who gains knowledge for each color specifically, which also takes time, right? You are absolutely right, but we are talking about a premium color here, which looks best with many colours, with variation in its shade.
Whether you are a web designer, a digital illustrator, or anyone whose work involves colour, this guide explores this specific colour in depth to help you choose it for your work. Let’s start by asking a simple question.
What Is The Gold Hex Code?
The gold hex code (#FFD700) is a bright, rich yellow-gold shade, which is the most common and recognised web colour for gold used by many designers and illustrators.

6-digit combination of letters and numbers makes a hex code that represents a specific colour in web design, which begins with a hashtag symbol (#) followed by three pairs of hexadecimal digits that show the components of the colours- red, green, and blue. Here are some basic details of the general gold colour:
| Colour property | Value |
| Colour name | Gold |
| Gold hex code | #FFD700 |
| RGB colour code | rgb(255, 215, 0) |
| Red value | 255 |
| Green value | 215 |
| Blue value | 0 |
| CSS colour name | Gold |
Gold Color Code: HEX, RGB, And Other Values
However, it is worth noting that the code for gold may be presented in various forms depending on the software used. For instance, HEX and RGB codes are especially helpful when working digitally, while CMYK codes are used in printing projects. Let’s understand different value codes for gold:-
Gold HEX code (#FFD700)
The most convenient option when choosing the colour gold, whether for your design or anything else.
Gold RGB code (255, 215, 0)
It is the combination of three different colours, namely: red, green, and blue, with varied intensities based on a specific colour; for gold, it is RGB (255,215,0).
Gold CMYK code
CMYK simply means cyan, magenta, yellow, and black; it is mainly used for printing. The approximate common CMYK value for gold is CMYK (0%, 16%, 100%, 0%).
Gold HSL code
HSL denotes hue, saturation, and lightness, which control the brightness, dullness, or intensity of a selected colour. For gold, the value is hsl(51, 100%, 50%).
Popular gold colour hex code variations
| Gold shade | Hex code | General appearance | Notes |
| Standard gold | #FFD700 | Bright, rich golden yellow | Highly saturated, eye-catching, dominant colour |
| Goldenrod | #DAA520 | Warm, deeper yellow-gold | Warmer, deeper yellow-gold, best for borders or illustrations |
| Old gold | #CFB53B | Muted gold with an earthy feel | Muted appearance, earthy quality, best for vintage-inspired designs |
| Antique gold | #AE924A | Subdued, vintage-inspired gold | Subdued, classic look, sense of age, tradition, or subtle elegance |
| Pale gold | #E6BE8A | Soft light golden beige | Best for backgrounds, decorative panels, packaging concepts, and minimal designs |
| Metallic gold | #D4AF37 | Deeper gold often used to suggest a metallic finish | This colour suggests the appearance of gold jewellery, premium packaging, trophies, and decorative metalwork |
| Rose gold | #B76E79 | Warm pinkish tone associated with rose gold | Pinkish, warm appearance, used in the appearance of jewellery, designs, invitations, for contemporary branding |
How To Use The Gold Color Hex Code In CSS
You can use this gold colour code to enhance the document, design, background, or whatnot, with so many options in the shade that you can make anything look premium or classic. Let’s try to understand how to apply it to specific things:-
Gold text colour
Use the colour property to make your heading look golden
h1{color:#FFD700;}
Gold background colour
Use gold as a background to make your section look attractive or premium
.gold-section {background-color: #FFD700;}
Gold borders
Add a decorative accent by adding this colour as your borders
.gold-border {border:2px solid #FFD700;}
Gold buttons
Give your CTA or another element a touch of this colour
.gold-button {background-color: #FFD700; color: #000000; border: none; padding: 12px 20px;}
Gold gradient
Make your section look dimensional by adding this gradient
.gold-gradient {background: linear-gradient(135deg, #FFD700,#D4AF37, #AE924A);}
Best Colour Combinations For Gold
It is not that gold looks good everywhere, but the supporting colour matters too, just like a hero isn’t a hero unless something opposes him and he defeats that opposing power somehow and in some form. So here are some of the premium, best-looking combos:-
- Gold and black
- Gold and white
- Gold and navy blue
- Gold and emerald green
- Gold and purple
- Gold and cream
Where can you use a gold hex colour?
Gold is quite versatile, although the color that comes out best will depend on the reason for the design. It is used by many professionals in many different fields, like:-
Website design
It helps with icons, borders, headings, and highlighting elements.
Branding and logos
It helps designs to communicate prestige, quality, celebration, or exclusivity.

Social media graphics
It helps in making announcements and achievement posts, event promotions, and celebratory graphics, and makes your content stand out in terms of colour.
Product packaging
Use gold as a concept for packaging in the manufacture of jewellery, cosmetics, gifts, and other luxury products.
And many other creative works….
Tips For Choosing The Right Gold Color Code
Consider the location of application and the usage of the product before choosing a gold color.
- Match the mood
- Check the background
- Use colour consistently
- Test readability
- Preview different shades
- Consider the final medium
Is A Gold Hex Code The Same As Metallic Gold?
No, both colours are different because the standard gold hex code (#FFD700) produces a bright yellow-gold colour and represents flat digital colour with no shine, while metallic gold refers to a surface that reflects light and a combination of several shades of gold in a gradient.

For instance, the use of a colour gradient like #AE924A, #FFD700, and #FFF0A0 could depict variations of light over a gold plane. This would be contingent upon the direction of the gradient and the positioning of the colours.
Frequently Asked Questions About Gold Hex Code
1. What is the gold hex code?
2. What is the RGB code for gold?
The RGB code for regular gold is rgb(255, 215, 0). It contains 255 red, 215 green, and 0 blue to produce the common web color gold.
3. What is the colour code of gold in HTML?
The standard web colour for HTML and CSS gold can also be expressed as #FFD700 or through the use of the named CSS colour, gold.
4. Is #FFD700 the same as metallic gold?
Color #FFD700 is a solid yellow-gold color. Metallic gold has reflective properties that can’t be achieved using a single hex code. Gradient, highlights, shadows, and physical treatment can all assist in achieving this look.
5. Which gold hex colour is best for luxury designs?
Not all luxury design projects require one particular shade to be used. The standard gold color #FFD700 is very bold and bright, while a darker shade, such as #D4AF37, can help achieve a more subtle and metallic effect.
6. What colours go well with gold?
Gold looks great with colors like black, dark blue, white, cream, emerald green, and dark purple. Dark colors help in highlighting the gold color, but light neutral colors give soft results. Remember to always check the combination in the desired context.
7. Can I use a gold hex code in CSS?
Absolutely. You can apply #FFD700 to CSS text, backgrounds, borders, and other objects. Such as, color: #FFD700; sets the text color to gold, whereas background-color: #FFD700; sets the background color to gold.
8. How do I make a gold colour look shiny?
Use gradients in various shades of gold, with the use of darker hues to depict shadows and lighter hues for highlighting. It would appear that there is a reflective quality to this effect, but this is just digital and not real metal.
9. Is gold a good colour for website text?
Gold is an effective choice for big headings and decorative fonts, especially against dark backgrounds. But gold against a white background might be hard to read. Be careful when you use it as body text or links.
Final Thoughts
The gold hex code (#FFD700), which denotes a vibrant shade of yellowish-golden color and is appropriate for use in various digital designs. The equivalent RGB code for gold is rgb(255, 215, 0). Of course, standard gold is not the only choice. There are different types of gold, including antique gold, light gold, old gold, and gold that resembles metal. It all depends on what you want to achieve with your design.
As an easy choice to start with, select #FFD700. If you wish for something that looks gentler or more refined, compare #FFD700 with its darker or lighter shades of gold. Experiment with your color combination in the actual design, see how readable the text is, and be consistent with the color.