Gold — #FFD700
The hex code for gold is #FFD700 — rgb(255, 215, 0), hsl(51, 100%, 50%). Use it in CSS as color: #FFD700;.
Gold is a warm, metallic yellow — the color of medals, jewelry, and autumn light. It signals value, quality, and celebration.
Gold color codes — click to copy
#FFD700rgb(255, 215, 0)hsl(51, 100%, 50%)hsv(51, 100%, 100%)cmyk(0%, 16%, 100%, 0%)Shades, tints & tones of gold
Click any swatch to copy it.
Gold harmonies
Click a swatch to copy it.
Colors that go with gold
| Color | Hex | |
|---|---|---|
| Black | #000000 | |
| Navy | #000080 | |
| White | #FFFFFF | |
| Maroon | #800000 |
Where gold is used
Use gold as an accent for premium products, awards, and festive designs. Gold works best in small amounts against black, navy, or deep green; large gold areas look gaudy.
What gold is often associated with: Wealth, quality, success, and celebration.
Contrast — can you read text on gold?
White text on gold scores 1.40:1
Normal text: AA Fail AAA Fail
Large text (18pt+, or 14pt bold+): AA Fail AAA Fail
Black text scores 14.97:1Normal text: AA Pass AAA Pass
Large text (18pt+, or 14pt bold+): AA Pass AAA Pass
Check any pair in the contrast checker →How gold looks with color blindness
Simulated with the Machado matrices. Click a swatch to copy the simulated color.
Protanopia
Deuteranopia
Tritanopia
This is a simulation for design checks, not a vision test. See the color blind simulator for any palette.
Frequently asked questions
What is the hex code for gold?
The hex code for gold is #FFD700.
What is the RGB of gold?
The RGB of gold is rgb(255, 215, 0).
What colors go with gold?
Colors that go well with gold include black (#000000), navy (#000080), white (#FFFFFF). See the pairings table on this page for the full list.
Is gold a good color for a website?
Gold works well as an accent or background — black text on it scores 14.97:1, which passes WCAG AA. Check any pair in the contrast checker before you ship it.
What does the color gold mean?
Wealth, quality, success, and celebration.
Related tools
Color Picker · Color Names · Palette Generator · Complementary Colors · Contrast Checker