Skip to content

#fcf6dc

a pale, electric yellow · warm · “Corn Silk”

RGB
252, 246, 220
HSL
49°, 84%, 93%
CMYK
0, 2, 13, 1
Luminance
0.9177

At a glance

Every number on this page in one read: what #fcf6dc is made of, how bright it looks, and which way it leans.

Hex
#fcf6dc
Hue
49°
yellow
Saturation
84%
electric
Lightness
93%
pale
Brightness
99%
HSV value
Perceived
96%
weighted brightness
Luminance
0.9177
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.35:1
Closest name
Corn Silk
ΔE2000 0.8
Where it sits
Hue49° of 360°
Saturation84%
Lightness93%
Temperature
Warm ← → Cool16% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#fcf6dc
RGBrgb(252, 246, 220)
HSLhsl(49, 84%, 93%)
CMYKcmyk(0%, 2%, 13%, 1%)
LABlab(96.7 -2.3 13.2)
LCHlch(96.7 13.4 99.7)
OKLCHoklch(0.971 0.035 96.3)
Decimal16578268
Display P3color(display-p3 0.988 0.965 0.863)

Copy-ready code

/* CSS */
color: #fcf6dc;
background-color: #fcf6dc;
/* Tailwind (arbitrary) */
class="text-[#fcf6dc] bg-[#fcf6dc]"
/* SCSS */
$brand: #fcf6dc;
/* SwiftUI */
Color(red: 0.988, green: 0.965, blue: 0.863)
/* Android */
Color.parseColor("#fcf6dc")
/* Flutter */
Color(0xFFFCF6DC)
/* Python / OpenCV (BGR) */
(220, 246, 252)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #fcf6dc · 19.35:1
Use #000000AAA at every size.
Aa
White text · 1.08:1
AA fail · AA large fail · AAA fail
Aa
Black text · 19.35:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fcf6dc as text scores 1.08:1 on white and 19.35:1 on black.

Accessibility — WCAG contrast

Aa
#fcf6dc on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fcf6dc on black: 19.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCF4DB
deuteranopia · #FEF7DD
tritanopia · #FFF2EF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fcf6dc is pinned to step 100; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFBF2
#fcf6dc
#F6EDC5
#F6E498
#F2D764
#EDCA30
#E1BB13
#BC9C10
#967C0D
#6D5B0E
#443909
Base = 100Lightest = 50 · #FCFBF2Darkest = 950 · #443909
:root {
  --brand-50: #FCFBF2;
  --brand-100: #fcf6dc;
  --brand-200: #F6EDC5;
  --brand-300: #F6E498;
  --brand-400: #F2D764;
  --brand-500: #EDCA30;
  --brand-600: #E1BB13;
  --brand-700: #BC9C10;
  --brand-800: #967C0D;
  --brand-900: #6D5B0E;
  --brand-950: #443909;
  --brand: #fcf6dc;
  --brand-ink: #000000;
}

Colors that work with #fcf6dc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF9F4
Tinted page background
Border#EDE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#0B5BC1
Second voice, not a rival
Dark variant#75610A
Hover, pressed, headers
Light variant#FDF9E8
Selected rows, tints
Dark surface#242114
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #fcf6dc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DCE2FC
Analogous left#FCE6DC
Analogous right#F2FCDC
Split-complement 1#DCF2FC
Split-complement 2#E6DCFC
Triadic 1#DCFCF6
Triadic 2#F6DCFC
Tetradic#DCFCE6

RGB percentages

Red98.8%
Green96.5%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow12.7%
Key (black)1.2%

Color previews

#fcf6dc text on a black background

contrast 19.35:1

Card sample

#fcf6dc text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fcf6dc;
Background color
Panel with #fcf6dc background
background-color: #fcf6dc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fcf6dc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(252, 246, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 246, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcf6dc;
background: linear-gradient(135deg, #fcf6dc, #EDFCDC);

Monochromatic scale

Palettes built from #fcf6dc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#fcf6dc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#fcf6dc, answered

What color is #fcf6dc?

#fcf6dc is a pale electric yellow — the CSS keyword Corn Silk. It sits at 49° on the hue wheel with 84% saturation and 93% lightness, which reads as warm.

What is the RGB value of #fcf6dc?

rgb(252, 246, 220) — 252 red, 246 green and 220 blue out of 255, or 98.8% / 96.5% / 86.3% by channel.

Is #fcf6dc a light or a dark color?

It is a light color. Relative luminance is 0.9177 and perceived brightness is 96%, so black text on it reaches 19.35:1.

Should I use black or white text on #fcf6dc?

Black. It scores 19.35:1 against #fcf6dc, versus 1.08:1 for white — AAA at any size.

What is the complementary color of #fcf6dc?

#DCE2FC sits directly opposite on the wheel. Softer options are the split-complements #DCF2FC and #E6DCFC, which give the same contrast with far less vibration.

What colors go well with #fcf6dc?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #0B5BC1 as an accent and #75610A for hover and pressed states. For a palette, the analogous pair #FCE6DC and #F2FCDC stays calm, while #DCE2FC is the loudest partner.

What is #fcf6dc in CMYK for printing?

cmyk(0%, 2%, 13%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #fcf6dc warm or cool?

Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FCEBDC; nudged cooler, #F6FCDB.

Work with #fcf6dc in the Color Lab