Skip to content
PantoneTools
yellow
X11 named colors

Cornsilk1

cornsilk1 · #FFF8DC

HEX

#FFF8DC

RGB

rgb(255, 248, 220)

CMYK

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

HSL

hsl(48, 100%, 93%)

LAB

lab(97.5, -2.2, 14.3)

What is Cornsilk1?

Cornsilk1 is the cornsilk1 reference in the X11 named colors. Its sRGB value is #FFF8DC (rgb 255, 248, 220). 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 Cornsilk1 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Cornsilk1

An 11-step tonal scale derived from Cornsilk1 (#FFF8DC). 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 #FFFEFC

50

#FFFEFC

#FFFEFC

Copied #FFFEF9

100

#FFFEF9

#FFFEF9

Copied #FFFDF4

200

#FFFDF4

#FFFDF4

Copied #FFFCEE

300

#FFFCEE

#FFFCEE

Copied #FFFAE5

400

#FFFAE5

#FFFAE5

Copied #FFF8DC

500

#FFF8DC

#FFF8DC

Copied #D9D3BB

600

#D9D3BB

#D9D3BB

Copied #A6A18F

700

#A6A18F

#A6A18F

Copied #737063

800

#737063

#737063

Copied #403E37

900

#403E37

#403E37

Copied #1F1E1A

950

#1F1E1A

#1F1E1A

Lighter tints (mixed with white)

Copied #FFF9E2

15%

#FFF9E2

Copied #FFFAE7

30%

#FFFAE7

Copied #FFFBED

45%

#FFFBED

Copied #FFFCF2

60%

#FFFCF2

Copied #FFFDF7

75%

#FFFDF7

Darker shades (mixed with black)

Copied #EDE7CD

15%

#EDE7CD

Copied #DAD4BC

30%

#DAD4BC

Copied #C4BEA8

45%

#C4BEA8

Copied #AAA592

60%

#AAA592

Copied #898575

75%

#898575

Color harmonies for Cornsilk1

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

Complementary

180° opposite — strongest contrast

Copied #FFF8DC

#FFF8DC

#FFF8DC

Copied #DBE2FF

#DBE2FF

#DBE2FF

Triadic

Three colors 120° apart

Copied #FFF8DC

#FFF8DC

#FFF8DC

Copied #DBFFF8

#DBFFF8

#DBFFF8

Copied #F8DBFF

#F8DBFF

#F8DBFF

Analogous

Two neighbors ±30° on the wheel

Copied #FFE6DB

#FFE6DB

#FFE6DB

Copied #FFF8DC

#FFF8DC

#FFF8DC

Copied #F4FFDB

#F4FFDB

#F4FFDB

Split-complementary

Base + two colors flanking its complement

Copied #FFF8DC

#FFF8DC

#FFF8DC

Copied #DBF4FF

#DBF4FF

#DBF4FF

Copied #E6DBFF

#E6DBFF

#E6DBFF

Tetradic

Two complementary pairs

Copied #FFF8DC

#FFF8DC

#FFF8DC

Copied #E2FFDB

#E2FFDB

#E2FFDB

Copied #DBE2FF

#DBE2FF

#DBE2FF

Copied #F8DBFF

#F8DBFF

#F8DBFF

Square

Four colors evenly spaced 90° apart

Copied #FFF8DC

#FFF8DC

#FFF8DC

Copied #DBFFE6

#DBFFE6

#DBFFE6

Copied #DBE2FF

#DBE2FF

#DBE2FF

Copied #FFDBF4

#FFDBF4

#FFDBF4

Cornsilk1 in every color space

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

#FFF8DC

RGB

rgb(255, 248, 220)

CMYK

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

HSL

hsl(48, 100%, 93%)

HSV

hsv(48, 14%, 100%)

HWB

hwb(48 86% 0%)

CIE Lab

lab(97.5 -2.2 14.3)

OKLCH

oklch(97.7% 0.037 95.4)

XYZ (D65)

xyz(87.72, 93.56, 81.13)

Copy-ready code for Cornsilk1

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

CSS variable

:root {
  --color-cornsilk1: #FFF8DC;
}

Tailwind config

// tailwind.config.js
colors: {
  'cornsilk1': '#FFF8DC',
}

Sass

$color-cornsilk1: #FFF8DC;

Swift UIColor

UIColor(red: 1.000, green: 0.973, blue: 0.863, alpha: 1.0)

Android XML

<color name="cornsilk1">#FFF8DC</color>

Closest match in every color system

The nearest Cornsilk1 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 #FDF4E3

RAL 9001

#FDF4E3

Cream

Copied #E7EBDA

RAL 9002

#E7EBDA

Grey white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

FAQ about Cornsilk1

What is the HEX code for Cornsilk1?

Cornsilk1 (cornsilk1) has the HEX code #FFF8DC. In RGB it is rgb(255, 248, 220), and in CMYK it is cmyk(0%, 3%, 14%, 0%).

What is the OKLCH value of Cornsilk1?

Cornsilk1 converts to oklch(0.977 0.037 95.4). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Cornsilk1 accessible for body text?

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

The closest Pantone reference to Cornsilk1 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 Cornsilk1?

The closest RAL Classic reference to Cornsilk1 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 Cornsilk1?

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