Skip to content
PantoneTools
yellow
X11 named colors

Yellow2

yellow2 · #EEEE00

HEX

#EEEE00

RGB

rgb(238, 238, 0)

CMYK

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

HSL

hsl(60, 100%, 47%)

LAB

lab(91.4, -20.5, 89.7)

What is Yellow2?

Yellow2 is the yellow2 reference in the X11 named colors. Its sRGB value is #EEEE00 (rgb 238, 238, 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 Yellow2 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Yellow2

An 11-step tonal scale derived from Yellow2 (#EEEE00). 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 #FEFEEB

50

#FEFEEB

#FEFEEB

Copied #FCFCD6

100

#FCFCD6

#FCFCD6

Copied #FAFAAD

200

#FAFAAD

#FAFAAD

Copied #F7F780

300

#F7F780

#F7F780

Copied #F2F240

400

#F2F240

#F2F240

Copied #EEEE00

500

#EEEE00

#EEEE00

Copied #CACA00

600

#CACA00

#CACA00

Copied #9B9B00

700

#9B9B00

#9B9B00

Copied #6B6B00

800

#6B6B00

#6B6B00

Copied #3C3C00

900

#3C3C00

#3C3C00

Copied #1D1D00

950

#1D1D00

#1D1D00

Lighter tints (mixed with white)

Copied #F1F16C

15%

#F1F16C

Copied #F3F395

30%

#F3F395

Copied #F6F6B3

45%

#F6F6B3

Copied #F8F8CB

60%

#F8F8CB

Copied #FBFBE1

75%

#FBFBE1

Darker shades (mixed with black)

Copied #DDDD00

15%

#DDDD00

Copied #CBCB00

30%

#CBCB00

Copied #B6B600

45%

#B6B600

Copied #9E9E00

60%

#9E9E00

Copied #7F7F00

75%

#7F7F00

Color harmonies for Yellow2

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

Complementary

180° opposite — strongest contrast

Copied #EEEE00

#EEEE00

#EEEE00

Copied #0000F0

#0000F0

#0000F0

Triadic

Three colors 120° apart

Copied #EEEE00

#EEEE00

#EEEE00

Copied #00F0F0

#00F0F0

#00F0F0

Copied #F000F0

#F000F0

#F000F0

Analogous

Two neighbors ±30° on the wheel

Copied #F07800

#F07800

#F07800

Copied #EEEE00

#EEEE00

#EEEE00

Copied #78F000

#78F000

#78F000

Split-complementary

Base + two colors flanking its complement

Copied #EEEE00

#EEEE00

#EEEE00

Copied #0078F0

#0078F0

#0078F0

Copied #7800F0

#7800F0

#7800F0

Tetradic

Two complementary pairs

Copied #EEEE00

#EEEE00

#EEEE00

Copied #00F000

#00F000

#00F000

Copied #0000F0

#0000F0

#0000F0

Copied #F000F0

#F000F0

#F000F0

Square

Four colors evenly spaced 90° apart

Copied #EEEE00

#EEEE00

#EEEE00

Copied #00F078

#00F078

#00F078

Copied #0000F0

#0000F0

#0000F0

Copied #F00078

#F00078

#F00078

Yellow2 in every color space

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

#EEEE00

RGB

rgb(238, 238, 0)

CMYK

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

HSL

hsl(60, 100%, 47%)

HSV

hsv(60, 100%, 93%)

HWB

hwb(60 0% 7%)

CIE Lab

lab(91.4 -20.5 89.7)

OKLCH

oklch(91.9% 0.200 109.8)

XYZ (D65)

xyz(65.84, 79.33, 11.84)

Copy-ready code for Yellow2

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

CSS variable

:root {
  --color-yellow2: #EEEE00;
}

Tailwind config

// tailwind.config.js
colors: {
  'yellow2': '#EEEE00',
}

Sass

$color-yellow2: #EEEE00;

Swift UIColor

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

Android XML

<color name="yellow2">#EEEE00</color>

Closest match in every color system

The nearest Yellow2 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 #F8F32B

RAL 1018

#F8F32B

Zinc yellow

Copied #FFFF00

RAL 1026

#FFFF00

Luminous yellow

Copied #EDFF21

RAL 1016

#EDFF21

Sulfur yellow

Copied #F3DA0B

RAL 1021

#F3DA0B

Rape yellow

Copied #E1CC4F

RAL 1014

#E1CC4F

Ivory

Copied #FAD201

RAL 1023

#FAD201

Traffic yellow

FAQ about Yellow2

What is the HEX code for Yellow2?

Yellow2 (yellow2) has the HEX code #EEEE00. In RGB it is rgb(238, 238, 0), and in CMYK it is cmyk(0%, 0%, 100%, 7%).

What is the OKLCH value of Yellow2?

Yellow2 converts to oklch(0.919 0.200 109.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Yellow2 accessible for body text?

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

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

What is the closest RAL color to Yellow2?

The closest RAL Classic reference to Yellow2 by ΔE2000 distance is RAL 1018 (Zinc yellow, #F8F32B). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Yellow2?

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