Cornsilk
cornsilk · #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 Cornsilk?
Cornsilk is the cornsilk reference in the CSS Named Colors. Its sRGB value is #FFF8DC (rgb 255, 248, 220). It sits in the yellow family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Cornsilk as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Cornsilk
An 11-step tonal scale derived from Cornsilk (#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.
50
#FFFEFC
#FFFEFC
100
#FFFEF9
#FFFEF9
200
#FFFDF4
#FFFDF4
300
#FFFCEE
#FFFCEE
400
#FFFAE5
#FFFAE5
500
#FFF8DC
#FFF8DC
600
#D9D3BB
#D9D3BB
700
#A6A18F
#A6A18F
800
#737063
#737063
900
#403E37
#403E37
950
#1F1E1A
#1F1E1A
Lighter tints (mixed with white)
15%
#FFF9E2
30%
#FFFAE7
45%
#FFFBED
60%
#FFFCF2
75%
#FFFDF7
Darker shades (mixed with black)
15%
#EDE7CD
30%
#DAD4BC
45%
#C4BEA8
60%
#AAA592
75%
#898575
Color harmonies for Cornsilk
Classic color-theory harmonies derived from rotating the hue of Cornsilk. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#FFF8DC
#FFF8DC
#DBE2FF
#DBE2FF
Triadic
Three colors 120° apart
#FFF8DC
#FFF8DC
#DBFFF8
#DBFFF8
#F8DBFF
#F8DBFF
Analogous
Two neighbors ±30° on the wheel
#FFE6DB
#FFE6DB
#FFF8DC
#FFF8DC
#F4FFDB
#F4FFDB
Split-complementary
Base + two colors flanking its complement
#FFF8DC
#FFF8DC
#DBF4FF
#DBF4FF
#E6DBFF
#E6DBFF
Tetradic
Two complementary pairs
#FFF8DC
#FFF8DC
#E2FFDB
#E2FFDB
#DBE2FF
#DBE2FF
#F8DBFF
#F8DBFF
Square
Four colors evenly spaced 90° apart
#FFF8DC
#FFF8DC
#DBFFE6
#DBFFE6
#DBE2FF
#DBE2FF
#FFDBF4
#FFDBF4
Cornsilk in every color space
Full conversion of Cornsilk 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 Cornsilk
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-cornsilk: #FFF8DC;
}Tailwind config
// tailwind.config.js
colors: {
'cornsilk': '#FFF8DC',
}Sass
$color-cornsilk: #FFF8DC;Swift UIColor
UIColor(red: 1.000, green: 0.973, blue: 0.863, alpha: 1.0)Android XML
<color name="cornsilk">#FFF8DC</color>Closest match in every color system
The nearest Cornsilk 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 CSS Named Colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 1013
#EAE6CA
Oyster white
RAL 9001
#FDF4E3
Cream
RAL 9002
#E7EBDA
Grey white
RAL 9016
#F6F6F6
Traffic white
RAL 9003
#F4F4F4
Signal white
RAL 9010
#FFFFFF
Pure white
FAQ about Cornsilk
What is the HEX code for Cornsilk?
Cornsilk (cornsilk) 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 Cornsilk?
Cornsilk 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 Cornsilk accessible for body text?
Used as a background, Cornsilk 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 Cornsilk?
The closest Pantone reference to Cornsilk 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 Cornsilk?
The closest RAL Classic reference to Cornsilk 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 Cornsilk?
The complementary color (180° opposite on the HSL color wheel) of Cornsilk is #DBE2FF. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.