Skip to content

#f9fbcf

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

RGB
249, 251, 207
HSL
63°, 85%, 90%
CMYK
1, 0, 18, 2
Luminance
0.9364

At a glance

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

Hex
#f9fbcf
Hue
63°
yellow
Saturation
85%
electric
Lightness
90%
pale
Brightness
98%
HSV value
Perceived
96%
weighted brightness
Luminance
0.9364
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
19.73:1
Closest name
Light Goldenrod Yellow
ΔE2000 1.3
Where it sits
Hue63° of 360°
Saturation85%
Lightness90%
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#f9fbcf
RGBrgb(249, 251, 207)
HSLhsl(63, 85%, 90%)
CMYKcmyk(1%, 0%, 18%, 2%)
LABlab(97.5 -7.8 20.9)
LCHlch(97.5 22.3 110.4)
OKLCHoklch(0.976 0.057 109.6)
Decimal16382927
Display P3color(display-p3 0.976 0.984 0.812)

Copy-ready code

/* CSS */
color: #f9fbcf;
background-color: #f9fbcf;
/* Tailwind (arbitrary) */
class="text-[#f9fbcf] bg-[#f9fbcf]"
/* SCSS */
$brand: #f9fbcf;
/* SwiftUI */
Color(red: 0.976, green: 0.984, blue: 0.812)
/* Android */
Color.parseColor("#f9fbcf")
/* Flutter */
Color(0xFFF9FBCF)
/* Python / OpenCV (BGR) */
(207, 251, 249)

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

Accessibility — WCAG contrast

Aa
#f9fbcf on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f9fbcf on black: 19.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF7CC
deuteranopia · #FFF9D1
tritanopia · #FFF5EF

Color scale — 50 to 950

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

#FCFCF2
#F9FAE6
#f9fbcf
#F2F697
#ECF264
#E5EE30
#D9E213
#B5BC10
#90970D
#696D0E
#414408
Base = 200Lightest = 50 · #FCFCF2Darkest = 950 · #414408
:root {
  --brand-50: #FCFCF2;
  --brand-100: #F9FAE6;
  --brand-200: #f9fbcf;
  --brand-300: #F2F697;
  --brand-400: #ECF264;
  --brand-500: #E5EE30;
  --brand-600: #D9E213;
  --brand-700: #B5BC10;
  --brand-800: #90970D;
  --brand-900: #696D0E;
  --brand-950: #414408;
  --brand: #f9fbcf;
  --brand-ink: #000000;
}

Colors that work with #f9fbcf

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#0C2FC0
Second voice, not a rival
Dark variant#71760A
Hover, pressed, headers
Light variant#FCFDE7
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 #f9fbcf

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#D1CFFB
Analogous left#FBE7CF
Analogous right#E3FBCF
Split-complement 1#CFE3FB
Split-complement 2#E7CFFB
Triadic 1#CFF9FB
Triadic 2#FBCFF9
Tetradic#CFFBE7

RGB percentages

Red97.6%
Green98.4%
Blue81.2%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow17.5%
Key (black)1.6%

Color previews

#f9fbcf text on a black background

contrast 19.73:1

Card sample

#f9fbcf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fbcf

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.

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

#f9fbcf, answered

What color is #f9fbcf?

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

What is the RGB value of #f9fbcf?

rgb(249, 251, 207) — 249 red, 251 green and 207 blue out of 255, or 97.6% / 98.4% / 81.2% by channel.

Is #f9fbcf a light or a dark color?

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

Should I use black or white text on #f9fbcf?

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

What is the complementary color of #f9fbcf?

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

What colors go well with #f9fbcf?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #979B4B for secondary text, #0C2FC0 as an accent and #71760A for hover and pressed states. For a palette, the analogous pair #FBE7CF and #E3FBCF stays calm, while #D1CFFB is the loudest partner.

What is #f9fbcf 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 #f9fbcf 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 #FBEDCF; nudged cooler, #E9FCCE.

Work with #f9fbcf in the Color Lab