Skip to content
PantoneTools
yellow
X11 named colors

Gold2

gold2 · #EEC900

HEX

#EEC900

RGB

rgb(238, 201, 0)

CMYK

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

HSL

hsl(51, 100%, 47%)

LAB

lab(81.8, -2.1, 82.8)

What is Gold2?

Gold2 is the gold2 reference in the X11 named colors. Its sRGB value is #EEC900 (rgb 238, 201, 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 Gold2 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Gold2

An 11-step tonal scale derived from Gold2 (#EEC900). 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 #FEFBEB

50

#FEFBEB

#FEFBEB

Copied #FCF6D6

100

#FCF6D6

#FCF6D6

Copied #FAEEAD

200

#FAEEAD

#FAEEAD

Copied #F7E480

300

#F7E480

#F7E480

Copied #F2D740

400

#F2D740

#F2D740

Copied #EEC900

500

#EEC900

#EEC900

Copied #CAAB00

600

#CAAB00

#CAAB00

Copied #9B8300

700

#9B8300

#9B8300

Copied #6B5A00

800

#6B5A00

#6B5A00

Copied #3C3200

900

#3C3200

#3C3200

Copied #1D1800

950

#1D1800

#1D1800

Lighter tints (mixed with white)

Copied #F1D26C

15%

#F1D26C

Copied #F3DB95

30%

#F3DB95

Copied #F6E3B3

45%

#F6E3B3

Copied #F8EBCB

60%

#F8EBCB

Copied #FBF3E1

75%

#FBF3E1

Darker shades (mixed with black)

Copied #DDBB00

15%

#DDBB00

Copied #CBAB00

30%

#CBAB00

Copied #B69A00

45%

#B69A00

Copied #9E8500

60%

#9E8500

Copied #7F6B00

75%

#7F6B00

Color harmonies for Gold2

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

Complementary

180° opposite — strongest contrast

Copied #EEC900

#EEC900

#EEC900

Copied #0024F0

#0024F0

#0024F0

Triadic

Three colors 120° apart

Copied #EEC900

#EEC900

#EEC900

Copied #00F0CC

#00F0CC

#00F0CC

Copied #CC00F0

#CC00F0

#CC00F0

Analogous

Two neighbors ±30° on the wheel

Copied #F05400

#F05400

#F05400

Copied #EEC900

#EEC900

#EEC900

Copied #9CF000

#9CF000

#9CF000

Split-complementary

Base + two colors flanking its complement

Copied #EEC900

#EEC900

#EEC900

Copied #009CF0

#009CF0

#009CF0

Copied #5400F0

#5400F0

#5400F0

Tetradic

Two complementary pairs

Copied #EEC900

#EEC900

#EEC900

Copied #24F000

#24F000

#24F000

Copied #0024F0

#0024F0

#0024F0

Copied #CC00F0

#CC00F0

#CC00F0

Square

Four colors evenly spaced 90° apart

Copied #EEC900

#EEC900

#EEC900

Copied #00F054

#00F054

#00F054

Copied #0024F0

#0024F0

#0024F0

Copied #F0009C

#F0009C

#F0009C

Gold2 in every color space

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

#EEC900

RGB

rgb(238, 201, 0)

CMYK

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

HSL

hsl(51, 100%, 47%)

HSV

hsv(51, 100%, 93%)

HWB

hwb(51 0% 7%)

CIE Lab

lab(81.8 -2.1 82.8)

OKLCH

oklch(84.3% 0.173 95.5)

XYZ (D65)

xyz(56.15, 59.95, 8.61)

Copy-ready code for Gold2

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

CSS variable

:root {
  --color-gold2: #EEC900;
}

Tailwind config

// tailwind.config.js
colors: {
  'gold2': '#EEC900',
}

Sass

$color-gold2: #EEC900;

Swift UIColor

UIColor(red: 0.933, green: 0.788, blue: 0.000, alpha: 1.0)

Android XML

<color name="gold2">#EEC900</color>

Closest match in every color system

The nearest Gold2 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 #F5D033

RAL 1017

#F5D033

Saffron yellow

Copied #FAD201

RAL 1023

#FAD201

Traffic yellow

Copied #E5BE01

RAL 1003

#E5BE01

Signal yellow

Copied #F3DA0B

RAL 1021

#F3DA0B

Rape yellow

Copied #E1CC4F

RAL 1014

#E1CC4F

Ivory

Copied #D6AE01

RAL 1032

#D6AE01

Broom yellow

FAQ about Gold2

What is the HEX code for Gold2?

Gold2 (gold2) has the HEX code #EEC900. In RGB it is rgb(238, 201, 0), and in CMYK it is cmyk(0%, 16%, 100%, 7%).

What is the OKLCH value of Gold2?

Gold2 converts to oklch(0.843 0.173 95.5). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Gold2 accessible for body text?

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

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

What is the closest RAL color to Gold2?

The closest RAL Classic reference to Gold2 by ΔE2000 distance is RAL 1017 (Saffron yellow, #F5D033). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Gold2?

The complementary color (180° opposite on the HSL color wheel) of Gold2 is #0024F0. 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 · Gold2 — #EEC900 | PantoneTools