Skip to content
PantoneTools
yellow
X11 named colors

Gold4

gold4 · #8B7500

HEX

#8B7500

RGB

rgb(139, 117, 0)

CMYK

cmyk(0%, 16%, 100%, 45%)

HSL

hsl(51, 100%, 27%)

LAB

lab(49.8, -1.6, 55.6)

What is Gold4?

Gold4 is the gold4 reference in the X11 named colors. Its sRGB value is #8B7500 (rgb 139, 117, 0). It sits in the yellow family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Gold4 as a background.

Black text on this color

Sample text · 4.64 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 4.52 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Gold4

An 11-step tonal scale derived from Gold4 (#8B7500). 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.

Copied #F6F4EB

50

#F6F4EB

#F6F4EB

Copied #ECE9D6

100

#ECE9D6

#ECE9D6

Copied #DAD3AD

200

#DAD3AD

#DAD3AD

Copied #C5BA80

300

#C5BA80

#C5BA80

Copied #A89840

400

#A89840

#A89840

Copied #8B7500

500

#8B7500

#8B7500

Copied #766300

600

#766300

#766300

Copied #5A4C00

700

#5A4C00

#5A4C00

Copied #3F3500

800

#3F3500

#3F3500

Copied #231D00

900

#231D00

#231D00

Copied #110E00

950

#110E00

#110E00

Lighter tints (mixed with white)

Copied #A4956C

15%

#A4956C

Copied #B8AE95

30%

#B8AE95

Copied #CAC3B3

45%

#CAC3B3

Copied #DAD6CB

60%

#DAD6CB

Copied #E9E6E1

75%

#E9E6E1

Darker shades (mixed with black)

Copied #816C00

15%

#816C00

Copied #766300

30%

#766300

Copied #695800

45%

#695800

Copied #5A4B00

60%

#5A4B00

Copied #483C00

75%

#483C00

Color harmonies for Gold4

Classic color-theory harmonies derived from rotating the hue of Gold4. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #8B7500

#8B7500

#8B7500

Copied #00158A

#00158A

#00158A

Triadic

Three colors 120° apart

Copied #8B7500

#8B7500

#8B7500

Copied #008A75

#008A75

#008A75

Copied #75008A

#75008A

#75008A

Analogous

Two neighbors ±30° on the wheel

Copied #8A3000

#8A3000

#8A3000

Copied #8B7500

#8B7500

#8B7500

Copied #5A8A00

#5A8A00

#5A8A00

Split-complementary

Base + two colors flanking its complement

Copied #8B7500

#8B7500

#8B7500

Copied #005A8A

#005A8A

#005A8A

Copied #30008A

#30008A

#30008A

Tetradic

Two complementary pairs

Copied #8B7500

#8B7500

#8B7500

Copied #158A00

#158A00

#158A00

Copied #00158A

#00158A

#00158A

Copied #75008A

#75008A

#75008A

Square

Four colors evenly spaced 90° apart

Copied #8B7500

#8B7500

#8B7500

Copied #008A30

#008A30

#008A30

Copied #00158A

#00158A

#00158A

Copied #8A005A

#8A005A

#8A005A

Gold4 in every color space

Full conversion of Gold4 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

#8B7500

RGB

rgb(139, 117, 0)

CMYK

cmyk(0%, 16%, 100%, 45%)

HSL

hsl(51, 100%, 27%)

HSV

hsv(51, 100%, 55%)

HWB

hwb(51 0% 45%)

CIE Lab

lab(49.8 -1.6 55.6)

OKLCH

oklch(56.6% 0.116 95.9)

XYZ (D65)

xyz(17.01, 18.21, 2.62)

Copy-ready code for Gold4

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: #8B7500;
background-color: #8B7500;

CSS variable

:root {
  --color-gold4: #8B7500;
}

Tailwind config

// tailwind.config.js
colors: {
  'gold4': '#8B7500',
}

Sass

$color-gold4: #8B7500;

Swift UIColor

UIColor(red: 0.545, green: 0.459, blue: 0.000, alpha: 1.0)

Android XML

<color name="gold4">#8B7500</color>

Closest match in every color system

The nearest Gold4 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 X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #A98307

RAL 1005

#A98307

Honey yellow

Copied #826C34

RAL 8000

#826C34

Green brown

Copied #9D9101

RAL 1027

#9D9101

Curry

Copied #746643

RAL 7008

#746643

Khaki grey

Copied #999950

RAL 1020

#999950

Olive yellow

Copied #955F20

RAL 8001

#955F20

Ochre brown

FAQ about Gold4

What is the HEX code for Gold4?

Gold4 (gold4) has the HEX code #8B7500. In RGB it is rgb(139, 117, 0), and in CMYK it is cmyk(0%, 16%, 100%, 45%).

What is the OKLCH value of Gold4?

Gold4 converts to oklch(0.566 0.116 95.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Gold4 accessible for body text?

Used as a background, Gold4 has a contrast ratio of 4.64:1 with black text and 4.52: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 Gold4?

The closest Pantone reference to Gold4 by ΔE2000 perceptual distance is Pantone 111 C (#A28A00). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Gold4?

The closest RAL Classic reference to Gold4 by ΔE2000 distance is RAL 1005 (Honey yellow, #A98307). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Gold4?

The complementary color (180° opposite on the HSL color wheel) of Gold4 is #00158A. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
yellow

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Gold4 — #8B7500 | PantoneTools