Skip to content

#fcf7e4

a pale, electric yellow · warm · closest name: Old Lace

RGB
252, 247, 228
HSL
48°, 80%, 94%
CMYK
0, 2, 10, 1
Luminance
0.9282

At a glance

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

Hex
#fcf7e4
Hue
48°
yellow
Saturation
80%
electric
Lightness
94%
pale
Brightness
99%
HSV value
Perceived
97%
weighted brightness
Luminance
0.9282
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.56:1
Closest name
Old Lace
ΔE2000 2.5
Where it sits
Hue48° of 360°
Saturation80%
Lightness94%
Temperature
Warm ← → Cool15% 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#fcf7e4
RGBrgb(252, 247, 228)
HSLhsl(48, 80%, 94%)
CMYKcmyk(0%, 2%, 10%, 1%)
LABlab(97.2 -1.5 9.7)
LCHlch(97.2 9.8 98.8)
OKLCHoklch(0.975 0.025 94.7)
Decimal16578532
Display P3color(display-p3 0.988 0.969 0.894)

Copy-ready code

/* CSS */
color: #fcf7e4;
background-color: #fcf7e4;
/* Tailwind (arbitrary) */
class="text-[#fcf7e4] bg-[#fcf7e4]"
/* SCSS */
$brand: #fcf7e4;
/* SwiftUI */
Color(red: 0.988, green: 0.969, blue: 0.894)
/* Android */
Color.parseColor("#fcf7e4")
/* Flutter */
Color(0xFFFCF7E4)
/* Python / OpenCV (BGR) */
(228, 247, 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 #fcf7e4 · 19.56:1
Use #000000AAA at every size.
Aa
White text · 1.07:1
AA fail · AA large fail · AAA fail
Aa
Black text · 19.56:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fcf7e4 as text scores 1.07:1 on white and 19.56:1 on black.

Accessibility — WCAG contrast

Aa
#fcf7e4 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fcf7e4 on black: 19.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBF6E3
deuteranopia · #FDF8E5
tritanopia · #FFF4F1

Color scale — 50 to 950

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

#FCFAF3
#fcf7e4
#F5EBC7
#F4E19A
#EED268
#E9C335
#DCB418
#B89614
#937810
#6A5710
#42370A
Base = 100Lightest = 50 · #FCFAF3Darkest = 950 · #42370A
:root {
  --brand-50: #FCFAF3;
  --brand-100: #fcf7e4;
  --brand-200: #F5EBC7;
  --brand-300: #F4E19A;
  --brand-400: #EED268;
  --brand-500: #E9C335;
  --brand-600: #DCB418;
  --brand-700: #B89614;
  --brand-800: #937810;
  --brand-900: #6A5710;
  --brand-950: #42370A;
  --brand: #fcf7e4;
  --brand-ink: #000000;
}

Colors that work with #fcf7e4

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#EDE3C0
Hairlines and dividers
Muted text#9B8A4B
Captions on the surface
Accent#0E5FBE
Second voice, not a rival
Dark variant#735E0D
Hover, pressed, headers
Light variant#FCF8E8
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 #fcf7e4

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#E4E9FC
Analogous left#FCEBE4
Analogous right#F5FCE4
Split-complement 1#E4F5FC
Split-complement 2#EBE4FC
Triadic 1#E4FCF7
Triadic 2#F7E4FC
Tetradic#E4FCEB

RGB percentages

Red98.8%
Green96.9%
Blue89.4%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow9.5%
Key (black)1.2%

Color previews

#fcf7e4 text on a black background

contrast 19.56:1

Card sample

#fcf7e4 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf7e4

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.

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

#fcf7e4, answered

What color is #fcf7e4?

#fcf7e4 is a pale electric yellow, closest to Old Lace (ΔE2000 2.5). It sits at 48° on the hue wheel with 80% saturation and 94% lightness, which reads as warm.

What is the RGB value of #fcf7e4?

rgb(252, 247, 228) — 252 red, 247 green and 228 blue out of 255, or 98.8% / 96.9% / 89.4% by channel.

Is #fcf7e4 a light or a dark color?

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

Should I use black or white text on #fcf7e4?

Black. It scores 19.56:1 against #fcf7e4, versus 1.07:1 for white — AAA at any size.

What is the complementary color of #fcf7e4?

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

What colors go well with #fcf7e4?

For interface work: #FAF9F4 as the surface, #EDE3C0 for borders, #9B8A4B for secondary text, #0E5FBE as an accent and #735E0D for hover and pressed states. For a palette, the analogous pair #FCEBE4 and #F5FCE4 stays calm, while #E4E9FC is the loudest partner.

What is #fcf7e4 in CMYK for printing?

cmyk(0%, 2%, 10%, 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 #fcf7e4 warm or cool?

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

Work with #fcf7e4 in the Color Lab