Golden yellow color code: hex, RGB and how to use it in a vector logo
What the golden yellow color code is, how it differs from CSS gold, and how to apply and check it in vector logo files for screen and print.
Contents
The short answer
"Golden yellow" has no single official definition. Two digital values are used most often. The first is #FFDF00 (RGB 255, 223, 0), which color-name references commonly list as golden yellow. The second is #FFD700 (RGB 255, 215, 0), which is the color the CSS standard calls "gold." Both are fully saturated yellows that lean slightly toward orange. #FFD700 is a little warmer and deeper than #FFDF00.
Choose based on where the color has to match. To match a web stylesheet that uses the keyword "gold," use #FFD700. If you just want the swatch usually labeled golden yellow, #FFDF00 is the common choice. If you are working with an existing brand, its own style guide overrides both values.
How the two values compare
| Name | Hex | RGB | HSL (approx.) | Basis |
| Golden yellow | #FFDF00 | 255, 223, 0 | 52.5°, 100%, 50% | Common color-name convention |
| Gold (CSS) | #FFD700 | 255, 215, 0 | 50.6°, 100%, 50% | CSS named-color standard |
The HSL figures come straight from the RGB values. Both colors sit at maximum saturation and medium lightness. They differ only by about two degrees of hue, so the difference is small on screen but visible when the two are placed side by side.
Screen values versus print values
Hex and RGB codes describe light on a display. They do not tell a printer what ink to use. Simple arithmetic conversion gives roughly C0 M13 Y100 K0 for #FFDF00 and C0 M16 Y100 K0 for #FFD700. Treat these only as starting points. Real CMYK output depends on the color profile, paper and press, and a vivid on-screen yellow often prints duller.
Gap: no verified Pantone or other spot-color match was supplied for either value. If a logo will be printed as a spot color, pick the swatch from a current physical or official digital Pantone guide instead of trusting an automatic conversion.
Applying golden yellow in a vector logo file
In vector artwork, the color is stored as a fill or stroke value on each shape. That makes it easy to change exactly. Below is a minimal SVG example with golden yellow applied as a fill:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<circle cx="50" cy="50" r="40" fill="#FFDF00"/>
</svg>
In editors such as Illustrator or Inkscape, set the color as a global or named swatch. Then one edit updates every shape that uses it. For a print-ready file, also define a CMYK or spot version of the swatch so you are not relying on automatic conversion at export.
Check that the yellow is actually vector
An .svg, .eps, .ai or .pdf extension does not guarantee editable paths. These formats can contain an embedded raster image, such as a pasted PNG or JPG, or only a raster preview. In that case, changing the swatch does nothing, and enlarging the logo makes the yellow areas blurry or blocky.
- Open the file in a vector editor and select the yellow area. Real artwork shows anchor points and a fill value you can read.
- View the file in outline or wireframe mode. Vector shapes remain visible as outlines, but an embedded image appears as a single box.
- Read the fill value from the selected shape instead of sampling it with an eyedropper from a preview. Sampled pixels can be shifted by anti-aliasing or compression.
Using an existing brand's golden yellow
Being able to download a logo file does not give you permission to change its colors or artwork, or to use the logo, its fonts or its trademark. If you are matching another organization's golden yellow, take the exact value from its official brand guidelines and follow its usage rules. No brand-specific values were supplied for this article, so none are given here.