Skip to content

#f8f1bf

a pale, electric yellow · warm · closest name: Lemon Chiffon

RGB
248, 241, 191
HSL
53°, 80%, 86%
CMYK
0, 3, 23, 3
Luminance
0.8663

At a glance

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

Hex
#f8f1bf
Hue
53°
yellow
Saturation
80%
electric
Lightness
86%
pale
Brightness
97%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8663
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
18.33:1
Closest name
Lemon Chiffon
ΔE2000 2.3
Where it sits
Hue53° of 360°
Saturation80%
Lightness86%
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#f8f1bf
RGBrgb(248, 241, 191)
HSLhsl(53, 80%, 86%)
CMYKcmyk(0%, 3%, 23%, 3%)
LABlab(94.6 -5.4 25.1)
LCHlch(94.6 25.6 102.2)
OKLCHoklch(0.951 0.065 100.9)
Decimal16314815
Display P3color(display-p3 0.973 0.945 0.749)

Copy-ready code

/* CSS */
color: #f8f1bf;
background-color: #f8f1bf;
/* Tailwind (arbitrary) */
class="text-[#f8f1bf] bg-[#f8f1bf]"
/* SCSS */
$brand: #f8f1bf;
/* SwiftUI */
Color(red: 0.973, green: 0.945, blue: 0.749)
/* Android */
Color.parseColor("#f8f1bf")
/* Flutter */
Color(0xFFF8F1BF)
/* Python / OpenCV (BGR) */
(191, 241, 248)

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

Accessibility — WCAG contrast

Aa
#f8f1bf on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f8f1bf on black: 18.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBEDBC
deuteranopia · #FDF1C1
tritanopia · #FFEAE3

Color scale — 50 to 950

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

#FCFBF3
#F9F7E6
#f8f1bf
#F4E99A
#EEDE67
#E9D335
#DDC418
#B8A414
#938310
#6A5F10
#433C0A
Base = 200Lightest = 50 · #FCFBF3Darkest = 950 · #433C0A
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F9F7E6;
  --brand-200: #f8f1bf;
  --brand-300: #F4E99A;
  --brand-400: #EEDE67;
  --brand-500: #E9D335;
  --brand-600: #DDC418;
  --brand-700: #B8A414;
  --brand-800: #938310;
  --brand-900: #6A5F10;
  --brand-950: #433C0A;
  --brand: #f8f1bf;
  --brand-ink: #000000;
}

Colors that work with #f8f1bf

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#1151BB
Second voice, not a rival
Dark variant#73660D
Hover, pressed, headers
Light variant#FCFAE8
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 #f8f1bf

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#BFC6F8
Analogous left#F8D5BF
Analogous right#E3F8BF
Split-complement 1#BFE3F8
Split-complement 2#D5BFF8
Triadic 1#BFF8F1
Triadic 2#F1BFF8
Tetradic#BFF8D5

RGB percentages

Red97.3%
Green94.5%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow23.0%
Key (black)2.7%

Color previews

#f8f1bf text on a black background

contrast 18.33:1

Card sample

#f8f1bf text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(248, 241, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 241, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8f1bf;
background: linear-gradient(135deg, #f8f1bf, #D9F8BF);

Monochromatic scale

Palettes built from #f8f1bf

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.

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

#f8f1bf, answered

What color is #f8f1bf?

#f8f1bf is a pale electric yellow, closest to Lemon Chiffon (ΔE2000 2.3). It sits at 53° on the hue wheel with 80% saturation and 86% lightness, which reads as warm.

What is the RGB value of #f8f1bf?

rgb(248, 241, 191) — 248 red, 241 green and 191 blue out of 255, or 97.3% / 94.5% / 74.9% by channel.

Is #f8f1bf a light or a dark color?

It is a light color. Relative luminance is 0.8663 and perceived brightness is 93%, so black text on it reaches 18.33:1.

Should I use black or white text on #f8f1bf?

Black. It scores 18.33:1 against #f8f1bf, versus 1.15:1 for white — AAA at any size.

What is the complementary color of #f8f1bf?

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

What colors go well with #f8f1bf?

For interface work: #FAFAF4 as the surface, #EDE7C0 for borders, #9B914B for secondary text, #1151BB as an accent and #73660D for hover and pressed states. For a palette, the analogous pair #F8D5BF and #E3F8BF stays calm, while #BFC6F8 is the loudest partner.

What is #f8f1bf in CMYK for printing?

cmyk(0%, 3%, 23%, 3%). 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 #f8f1bf 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 #F8DCBF; nudged cooler, #EBF9BE.

Work with #f8f1bf in the Color Lab