Skip to content

#f7f9cd

a pale, electric yellow · warm · closest name: Light Goldenrod Yellow

RGB
247, 249, 205
HSL
63°, 79%, 89%
CMYK
1, 0, 18, 2
Luminance
0.9193

At a glance

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

Hex
#f7f9cd
Hue
63°
yellow
Saturation
79%
electric
Lightness
89%
pale
Brightness
98%
HSV value
Perceived
96%
weighted brightness
Luminance
0.9193
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.39:1
Closest name
Light Goldenrod Yellow
ΔE2000 1.3
Where it sits
Hue63° of 360°
Saturation79%
Lightness89%
Temperature
Warm ← → Cool27% 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#f7f9cd
RGBrgb(247, 249, 205)
HSLhsl(63, 79%, 89%)
CMYKcmyk(1%, 0%, 18%, 2%)
LABlab(96.8 -7.8 20.9)
LCHlch(96.8 22.4 110.4)
OKLCHoklch(0.970 0.057 109.6)
Decimal16251341
Display P3color(display-p3 0.969 0.976 0.804)

Copy-ready code

/* CSS */
color: #f7f9cd;
background-color: #f7f9cd;
/* Tailwind (arbitrary) */
class="text-[#f7f9cd] bg-[#f7f9cd]"
/* SCSS */
$brand: #f7f9cd;
/* SwiftUI */
Color(red: 0.969, green: 0.976, blue: 0.804)
/* Android */
Color.parseColor("#f7f9cd")
/* Flutter */
Color(0xFFF7F9CD)
/* Python / OpenCV (BGR) */
(205, 249, 247)

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

Accessibility — WCAG contrast

Aa
#f7f9cd on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#f7f9cd on black: 19.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF5CA
deuteranopia · #FFF7CF
tritanopia · #FDF3ED

Color scale — 50 to 950

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

#FCFCF3
#F8F9E6
#f7f9cd
#EFF39B
#E7ED69
#DFE737
#D2DB1A
#AFB616
#8C9211
#656911
#3F420B
Base = 200Lightest = 50 · #FCFCF3Darkest = 950 · #3F420B
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F8F9E6;
  --brand-200: #f7f9cd;
  --brand-300: #EFF39B;
  --brand-400: #E7ED69;
  --brand-500: #DFE737;
  --brand-600: #D2DB1A;
  --brand-700: #AFB616;
  --brand-800: #8C9211;
  --brand-900: #656911;
  --brand-950: #3F420B;
  --brand: #f7f9cd;
  --brand-ink: #000000;
}

Colors that work with #f7f9cd

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#EBEDC0
Hairlines and dividers
Muted text#979B4B
Captions on the surface
Accent#1233BA
Second voice, not a rival
Dark variant#6D720E
Hover, pressed, headers
Light variant#FBFCE8
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 #f7f9cd

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#CFCDF9
Analogous left#F9E5CD
Analogous right#E1F9CD
Split-complement 1#CDE1F9
Split-complement 2#E5CDF9
Triadic 1#CDF7F9
Triadic 2#F9CDF7
Tetradic#CDF9E5

RGB percentages

Red96.9%
Green97.6%
Blue80.4%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow17.7%
Key (black)2.4%

Color previews

#f7f9cd text on a black background

contrast 19.39:1

Card sample

#f7f9cd text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7f9cd

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.

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

#f7f9cd, answered

What color is #f7f9cd?

#f7f9cd is a pale electric yellow, closest to Light Goldenrod Yellow (ΔE2000 1.3). It sits at 63° on the hue wheel with 79% saturation and 89% lightness, which reads as warm.

What is the RGB value of #f7f9cd?

rgb(247, 249, 205) — 247 red, 249 green and 205 blue out of 255, or 96.9% / 97.6% / 80.4% by channel.

Is #f7f9cd a light or a dark color?

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

Should I use black or white text on #f7f9cd?

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

What is the complementary color of #f7f9cd?

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

What colors go well with #f7f9cd?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #979B4B for secondary text, #1233BA as an accent and #6D720E for hover and pressed states. For a palette, the analogous pair #F9E5CD and #E1F9CD stays calm, while #CFCDF9 is the loudest partner.

What is #f7f9cd in CMYK for printing?

cmyk(1%, 0%, 18%, 2%). 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 #f7f9cd warm or cool?

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

Work with #f7f9cd in the Color Lab