Skip to content
PantoneTools
yellow
X11 named colors

Cornsilk2

cornsilk2 · #EEE8CD

HEX

#EEE8CD

RGB

rgb(238, 232, 205)

CMYK

cmyk(0%, 3%, 14%, 7%)

HSL

hsl(49, 49%, 87%)

LAB

lab(91.8, -2.4, 13.9)

What is Cornsilk2?

Cornsilk2 is the cornsilk2 reference in the X11 named colors. Its sRGB value is #EEE8CD (rgb 238, 232, 205). 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 Cornsilk2 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Cornsilk2

An 11-step tonal scale derived from Cornsilk2 (#EEE8CD). 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 #FEFDFB

50

#FEFDFB

#FEFDFB

Copied #FCFBF7

100

#FCFBF7

#FCFBF7

Copied #FAF8EF

200

#FAF8EF

#FAF8EF

Copied #F7F4E6

300

#F7F4E6

#F7F4E6

Copied #F2EEDA

400

#F2EEDA

#F2EEDA

Copied #EEE8CD

500

#EEE8CD

#EEE8CD

Copied #CAC5AE

600

#CAC5AE

#CAC5AE

Copied #9B9785

700

#9B9785

#9B9785

Copied #6B685C

800

#6B685C

#6B685C

Copied #3C3A33

900

#3C3A33

#3C3A33

Copied #1D1C19

950

#1D1C19

#1D1C19

Lighter tints (mixed with white)

Copied #F1ECD6

15%

#F1ECD6

Copied #F3EFDE

30%

#F3EFDE

Copied #F6F3E5

45%

#F6F3E5

Copied #F8F6ED

60%

#F8F6ED

Copied #FBFAF4

75%

#FBFAF4

Darker shades (mixed with black)

Copied #DDD8BF

15%

#DDD8BF

Copied #CBC6AF

30%

#CBC6AF

Copied #B6B29D

45%

#B6B29D

Copied #9E9A87

60%

#9E9A87

Copied #7F7C6D

75%

#7F7C6D

Color harmonies for Cornsilk2

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

Complementary

180° opposite — strongest contrast

Copied #EEE8CD

#EEE8CD

#EEE8CD

Copied #CED4EE

#CED4EE

#CED4EE

Triadic

Three colors 120° apart

Copied #EEE8CD

#EEE8CD

#EEE8CD

Copied #CEEEE8

#CEEEE8

#CEEEE8

Copied #E8CEEE

#E8CEEE

#E8CEEE

Analogous

Two neighbors ±30° on the wheel

Copied #EED8CE

#EED8CE

#EED8CE

Copied #EEE8CD

#EEE8CD

#EEE8CD

Copied #E4EECE

#E4EECE

#E4EECE

Split-complementary

Base + two colors flanking its complement

Copied #EEE8CD

#EEE8CD

#EEE8CD

Copied #CEE4EE

#CEE4EE

#CEE4EE

Copied #D8CEEE

#D8CEEE

#D8CEEE

Tetradic

Two complementary pairs

Copied #EEE8CD

#EEE8CD

#EEE8CD

Copied #D4EECE

#D4EECE

#D4EECE

Copied #CED4EE

#CED4EE

#CED4EE

Copied #E8CEEE

#E8CEEE

#E8CEEE

Square

Four colors evenly spaced 90° apart

Copied #EEE8CD

#EEE8CD

#EEE8CD

Copied #CEEED8

#CEEED8

#CEEED8

Copied #CED4EE

#CED4EE

#CED4EE

Copied #EECEE4

#EECEE4

#EECEE4

Cornsilk2 in every color space

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

#EEE8CD

RGB

rgb(238, 232, 205)

CMYK

cmyk(0%, 3%, 14%, 7%)

HSL

hsl(49, 49%, 87%)

HSV

hsv(49, 14%, 93%)

HWB

hwb(49 80% 7%)

CIE Lab

lab(91.8 -2.4 13.9)

OKLCH

oklch(92.9% 0.036 96.7)

XYZ (D65)

xyz(75.14, 80.30, 69.29)

Copy-ready code for Cornsilk2

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

CSS variable

:root {
  --color-cornsilk2: #EEE8CD;
}

Tailwind config

// tailwind.config.js
colors: {
  'cornsilk2': '#EEE8CD',
}

Sass

$color-cornsilk2: #EEE8CD;

Swift UIColor

UIColor(red: 0.933, green: 0.910, blue: 0.804, alpha: 1.0)

Android XML

<color name="cornsilk2">#EEE8CD</color>

Closest match in every color system

The nearest Cornsilk2 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 #EAE6CA

RAL 1013

#EAE6CA

Oyster white

Copied #E7EBDA

RAL 9002

#E7EBDA

Grey white

Copied #FDF4E3

RAL 9001

#FDF4E3

Cream

Copied #CAC4B0

RAL 7044

#CAC4B0

Silk grey

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

FAQ about Cornsilk2

What is the HEX code for Cornsilk2?

Cornsilk2 (cornsilk2) has the HEX code #EEE8CD. In RGB it is rgb(238, 232, 205), and in CMYK it is cmyk(0%, 3%, 14%, 7%).

What is the OKLCH value of Cornsilk2?

Cornsilk2 converts to oklch(0.929 0.036 96.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Cornsilk2 accessible for body text?

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

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

What is the closest RAL color to Cornsilk2?

The closest RAL Classic reference to Cornsilk2 by ΔE2000 distance is RAL 1013 (Oyster white, #EAE6CA). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Cornsilk2?

The complementary color (180° opposite on the HSL color wheel) of Cornsilk2 is #CED4EE. 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 · Cornsilk2 — #EEE8CD | PantoneTools