Gold
gold · #FFD700
HEX
#FFD700
RGB
rgb(255, 215, 0)
CMYK
cmyk(0%, 16%, 100%, 0%)
HSL
hsl(51, 100%, 50%)
LAB
lab(86.9, -1.9, 87.1)
What is Gold?
Gold is the gold reference in the CSS Named Colors. Its sRGB value is #FFD700 (rgb 255, 215, 0). It sits in the yellow family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Gold as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Gold
An 11-step tonal scale derived from Gold (#FFD700). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#FFFCEB
#FFFCEB
100
#FFF9D6
#FFF9D6
200
#FFF2AD
#FFF2AD
300
#FFEB80
#FFEB80
400
#FFE140
#FFE140
500
#FFD700
#FFD700
600
#D9B700
#D9B700
700
#A68C00
#A68C00
800
#736100
#736100
900
#403600
#403600
950
#1F1A00
#1F1A00
Lighter tints (mixed with white)
15%
#FFDE6C
30%
#FFE495
45%
#FFEAB3
60%
#FFF0CB
75%
#FFF6E1
Darker shades (mixed with black)
15%
#EDC800
30%
#DAB700
45%
#C4A500
60%
#AA8E00
75%
#897300
Color harmonies for Gold
Classic color-theory harmonies derived from rotating the hue of Gold. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#FFD700
#FFD700
#0026FF
#0026FF
Triadic
Three colors 120° apart
#FFD700
#FFD700
#00FFD9
#00FFD9
#D900FF
#D900FF
Analogous
Two neighbors ±30° on the wheel
#FF5900
#FF5900
#FFD700
#FFD700
#A6FF00
#A6FF00
Split-complementary
Base + two colors flanking its complement
#FFD700
#FFD700
#00A6FF
#00A6FF
#5900FF
#5900FF
Tetradic
Two complementary pairs
#FFD700
#FFD700
#26FF00
#26FF00
#0026FF
#0026FF
#D900FF
#D900FF
Square
Four colors evenly spaced 90° apart
#FFD700
#FFD700
#00FF59
#00FF59
#0026FF
#0026FF
#FF00A6
#FF00A6
Gold in every color space
Full conversion of Gold across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#FFD700
RGB
rgb(255, 215, 0)
CMYK
cmyk(0%, 16%, 100%, 0%)
HSL
hsl(51, 100%, 50%)
HSV
hsv(51, 100%, 100%)
HWB
hwb(51 0% 0%)
CIE Lab
lab(86.9 -1.9 87.1)
OKLCH
oklch(88.7% 0.182 95.3)
XYZ (D65)
xyz(65.54, 69.86, 10.03)
Copy-ready code for Gold
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #FFD700;
background-color: #FFD700;CSS variable
:root {
--color-gold: #FFD700;
}Tailwind config
// tailwind.config.js
colors: {
'gold': '#FFD700',
}Sass
$color-gold: #FFD700;Swift UIColor
UIColor(red: 1.000, green: 0.843, blue: 0.000, alpha: 1.0)Android XML
<color name="gold">#FFD700</color>Closest match in every color system
The nearest Gold equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in CSS Named Colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 1023
#FAD201
Traffic yellow
RAL 1017
#F5D033
Saffron yellow
RAL 1021
#F3DA0B
Rape yellow
RAL 1003
#E5BE01
Signal yellow
RAL 1014
#E1CC4F
Ivory
RAL 1018
#F8F32B
Zinc yellow
FAQ about Gold
What is the HEX code for Gold?
Gold (gold) has the HEX code #FFD700. In RGB it is rgb(255, 215, 0), and in CMYK it is cmyk(0%, 16%, 100%, 0%).
What is the OKLCH value of Gold?
Gold converts to oklch(0.887 0.182 95.3). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Gold accessible for body text?
Used as a background, Gold has a contrast ratio of 14.97:1 with black text and 1.40:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Gold?
The closest Pantone reference to Gold by ΔE2000 perceptual distance is Pantone 108 C (#FFDD00). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Gold?
The closest RAL Classic reference to Gold by ΔE2000 distance is RAL 1023 (Traffic yellow, #FAD201). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Gold?
The complementary color (180° opposite on the HSL color wheel) of Gold is #0026FF. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.