Skip to content

#fdf9dc

a pale, electric yellow · warm · closest name: Corn Silk

RGB
253, 249, 220
HSL
53°, 89%, 93%
CMYK
0, 2, 13, 1
Luminance
0.9380

At a glance

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

Hex
#fdf9dc
Hue
53°
yellow
Saturation
89%
electric
Lightness
93%
pale
Brightness
99%
HSV value
Perceived
97%
weighted brightness
Luminance
0.9380
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.76:1
Closest name
Corn Silk
ΔE2000 1.4
Where it sits
Hue53° of 360°
Saturation89%
Lightness93%
Temperature
Warm ← → Cool19% 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#fdf9dc
RGBrgb(253, 249, 220)
HSLhsl(53, 89%, 93%)
CMYKcmyk(0%, 2%, 13%, 1%)
LABlab(97.5 -3.4 14.4)
LCHlch(97.5 14.8 103.4)
OKLCHoklch(0.978 0.038 100.6)
Decimal16644572
Display P3color(display-p3 0.992 0.976 0.863)

Copy-ready code

/* CSS */
color: #fdf9dc;
background-color: #fdf9dc;
/* Tailwind (arbitrary) */
class="text-[#fdf9dc] bg-[#fdf9dc]"
/* SCSS */
$brand: #fdf9dc;
/* SwiftUI */
Color(red: 0.992, green: 0.976, blue: 0.863)
/* Android */
Color.parseColor("#fdf9dc")
/* Flutter */
Color(0xFFFDF9DC)
/* Python / OpenCV (BGR) */
(220, 249, 253)

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 #fdf9dc · 19.76:1
Use #000000AAA at every size.
Aa
White text · 1.06:1
AA fail · AA large fail · AAA fail
Aa
Black text · 19.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fdf9dc as text scores 1.06:1 on white and 19.76:1 on black.

Accessibility — WCAG contrast

Aa
#fdf9dc on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdf9dc on black: 19.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF7DA
deuteranopia · #FFF9DD
tritanopia · #FFF5F1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fdf9dc 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.

#FDFBF2
#fdf9dc
#F8F2C4
#F9ED95
#F6E460
#F3DB2B
#E8CD0D
#C1AB0B
#9A8909
#6F630B
#463E07
Base = 100Lightest = 50 · #FDFBF2Darkest = 950 · #463E07
:root {
  --brand-50: #FDFBF2;
  --brand-100: #fdf9dc;
  --brand-200: #F8F2C4;
  --brand-300: #F9ED95;
  --brand-400: #F6E460;
  --brand-500: #F3DB2B;
  --brand-600: #E8CD0D;
  --brand-700: #C1AB0B;
  --brand-800: #9A8909;
  --brand-900: #6F630B;
  --brand-950: #463E07;
  --brand: #fdf9dc;
  --brand-ink: #000000;
}

Colors that work with #fdf9dc

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#FAFAF4
Tinted page background
Border#EDE7C0
Hairlines and dividers
Muted text#9B914B
Captions on the surface
Accent#064DC6
Second voice, not a rival
Dark variant#796B07
Hover, pressed, headers
Light variant#FEFBE7
Selected rows, tints
Dark surface#242214
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 #fdf9dc

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#DCE0FD
Analogous left#FDE8DC
Analogous right#F0FDDC
Split-complement 1#DCF0FD
Split-complement 2#E8DCFD
Triadic 1#DCFDF9
Triadic 2#F9DCFD
Tetradic#DCFDE8

RGB percentages

Red99.2%
Green97.6%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow13.0%
Key (black)0.8%

Color previews

#fdf9dc text on a black background

contrast 19.76:1

Card sample

#fdf9dc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9dc

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.

#fdf9dc 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.

#fdf9dc, answered

What color is #fdf9dc?

#fdf9dc is a pale electric yellow, closest to Corn Silk (ΔE2000 1.4). It sits at 53° on the hue wheel with 89% saturation and 93% lightness, which reads as warm.

What is the RGB value of #fdf9dc?

rgb(253, 249, 220) — 253 red, 249 green and 220 blue out of 255, or 99.2% / 97.6% / 86.3% by channel.

Is #fdf9dc a light or a dark color?

It is a light color. Relative luminance is 0.9380 and perceived brightness is 97%, so black text on it reaches 19.76:1.

Should I use black or white text on #fdf9dc?

Black. It scores 19.76:1 against #fdf9dc, versus 1.06:1 for white — AAA at any size.

What is the complementary color of #fdf9dc?

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

What colors go well with #fdf9dc?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B914B for secondary text, #064DC6 as an accent and #796B07 for hover and pressed states. For a palette, the analogous pair #FDE8DC and #F0FDDC stays calm, while #DCE0FD is the loudest partner.

What is #fdf9dc 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 #fdf9dc warm or cool?

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

Work with #fdf9dc in the Color Lab