Skip to content

#fcf9ac

a light, electric yellow · warm · closest name: Pale Goldenrod

RGB
252, 249, 172
HSL
58°, 93%, 83%
CMYK
0, 1, 32, 1
Luminance
0.9143

At a glance

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

Hex
#fcf9ac
Hue
58°
yellow
Saturation
93%
electric
Lightness
83%
light
Brightness
99%
HSV value
Perceived
95%
weighted brightness
Luminance
0.9143
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.29:1
Closest name
Pale Goldenrod
ΔE2000 4.4
Where it sits
Hue58° of 360°
Saturation93%
Lightness83%
Temperature
Warm ← → Cool23% 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#fcf9ac
RGBrgb(252, 249, 172)
HSLhsl(58, 93%, 83%)
CMYKcmyk(0%, 1%, 32%, 1%)
LABlab(96.6 -10.3 37.4)
LCHlch(96.6 38.8 105.4)
OKLCHoklch(0.967 0.097 106.2)
Decimal16578988
Display P3color(display-p3 0.988 0.976 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf9ac on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fcf9ac on black: 19.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF3A7
deuteranopia · #FFF7AF
tritanopia · #FFEFE5

Color scale — 50 to 950

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

#FDFDF2
#FBFAE4
#fcf9ac
#FBF793
#F9F35D
#F7EF26
#ECE409
#C5BE07
#9D9806
#726E09
#474406
Base = 200Lightest = 50 · #FDFDF2Darkest = 950 · #474406
:root {
  --brand-50: #FDFDF2;
  --brand-100: #FBFAE4;
  --brand-200: #fcf9ac;
  --brand-300: #FBF793;
  --brand-400: #F9F35D;
  --brand-500: #F7EF26;
  --brand-600: #ECE409;
  --brand-700: #C5BE07;
  --brand-800: #9D9806;
  --brand-900: #726E09;
  --brand-950: #474406;
  --brand: #fcf9ac;
  --brand-ink: #000000;
}

Colors that work with #fcf9ac

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#EDEBC0
Hairlines and dividers
Muted text#9B984B
Captions on the surface
Accent#023BCA
Second voice, not a rival
Dark variant#7B7604
Hover, pressed, headers
Light variant#FEFDE6
Selected rows, tints
Dark surface#242414
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 #fcf9ac

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#ACAFFC
Analogous left#FCD1AC
Analogous right#D7FCAC
Split-complement 1#ACD7FC
Split-complement 2#D1ACFC
Triadic 1#ACFCF9
Triadic 2#F9ACFC
Tetradic#ACFCD1

RGB percentages

Red98.8%
Green97.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow31.7%
Key (black)1.2%

Color previews

#fcf9ac text on a black background

contrast 19.29:1

Card sample

#fcf9ac text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf9ac

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.

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

#fcf9ac, answered

What color is #fcf9ac?

#fcf9ac is a light electric yellow, closest to Pale Goldenrod (ΔE2000 4.4). It sits at 58° on the hue wheel with 93% saturation and 83% lightness, which reads as warm.

What is the RGB value of #fcf9ac?

rgb(252, 249, 172) — 252 red, 249 green and 172 blue out of 255, or 98.8% / 97.6% / 67.5% by channel.

Is #fcf9ac a light or a dark color?

It is a light color. Relative luminance is 0.9143 and perceived brightness is 95%, so black text on it reaches 19.29:1.

Should I use black or white text on #fcf9ac?

Black. It scores 19.29:1 against #fcf9ac, versus 1.09:1 for white — AAA at any size.

What is the complementary color of #fcf9ac?

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

What colors go well with #fcf9ac?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B984B for secondary text, #023BCA as an accent and #7B7604 for hover and pressed states. For a palette, the analogous pair #FCD1AC and #D7FCAC stays calm, while #ACAFFC is the loudest partner.

What is #fcf9ac in CMYK for printing?

cmyk(0%, 1%, 32%, 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 #fcf9ac warm or cool?

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

Work with #fcf9ac in the Color Lab