TintShelf
Interface

Gold Color Code: Hex #FFD700

The hex code for Gold is #FFD700 (the CSS keyword gold). Gold RGB code: rgb(255, 215, 0). The xkcd color survey gives #DBB40C instead, which looks slightly different; both codes are below with their source.

CSS Color 4, meodai color-name-list#FFD700Top: the code browsers use
xkcd color survey#DBB40CBelow: compare edge to edge

Gold color codes: each Gold hex code in every format

HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
OKLCHoklch(88.7% 0.182 95.3)
LABlab(87.5 2.9 86.5)
CMYKcmyk(0%, 16%, 100%, 0%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look slightly different
Family
yellow
Contrast
1.40:1 with white, 14.97:1 with black
CSS keyword
gold
Character
light, vivid
Readable text on it
black (AA)

The X11 file gives gold three darker numbered variants, and the printer media color standard PWG 5101.1 keeps gold at the same value while adding a dark and a light gold of its own.

A light, vivid yellow with a warm cast. In code, gold gives exactly this web value. If you mean the color as people usually picture the name, the survey value #DBB40C is closer: it is darker and more muted.

Black text reads best on it; white text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Mustard Yellow, its closest named neighbour, it looks lighter, more vivid and warmer; beside Yellow it looks darker, more muted and warmer.

Colors that go with Gold

Complementary: the opposite of Gold

Open in generator

  • #FFD700Black text 14.97:1
  • #CFD8FFBlack text 14.92:1
  • #FFEB9CBlack text 17.62:1
  • #7F859EBlack text 5.75:1

Analogous

Open in generator

  • #FFD0A2Black text 14.80:1
  • #FFD700Black text 14.97:1
  • #BEEE59Black text 15.56:1
  • #FFF0B9Black text 18.42:1

Triadic

Open in generator

  • #FFD700Black text 14.97:1
  • #91E9FFBlack text 15.30:1
  • #FFC4F1Black text 14.42:1
  • #FFF6D4Black text 19.39:1

Monochrome

Open in generator

  • #483B00White text 11.05:1
  • #9E8500Black text 5.81:1
  • #FFD700Black text 14.97:1
  • #FFE47CBlack text 16.64:1
  • #FFF0B9Black text 18.42:1

With neutrals

Open in generator

  • #FFD700Black text 14.97:1
  • #FFF6D4Black text 19.39:1
  • #221A00White text 17.27:1
  • #A49A74Black text 7.45:1

How tints, shades and harmonies are calculated

Preview

Heading on Gold

Body text on this color, 14.97:1.

Button

Heading in Gold

Text in this color on white, 1.40:1.

Button

Tints and shades

  1. #FFF6D4
  2. #FFF0B9
  3. #FFEB9C
  4. #FFE47C
  5. #FFDE56
  6. #FFD700
  7. #CEAD00
  8. #9E8500
  9. #715E00
  10. #483B00
  11. #221A00

WhiteGoldBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.