Skip to content

#f8f4db

a pale, vivid yellow · warm · closest name: Corn Silk

RGB
248, 244, 219
HSL
52°, 67%, 92%
CMYK
0, 2, 12, 3
Luminance
0.8977

At a glance

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

Hex
#f8f4db
Hue
52°
yellow
Saturation
67%
vivid
Lightness
92%
pale
Brightness
97%
HSV value
Perceived
95%
weighted brightness
Luminance
0.8977
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
18.95:1
Closest name
Corn Silk
ΔE2000 1.7
Where it sits
Hue52° of 360°
Saturation67%
Lightness92%
Temperature
Warm ← → Cool18% 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#f8f4db
RGBrgb(248, 244, 219)
HSLhsl(52, 67%, 92%)
CMYKcmyk(0%, 2%, 12%, 3%)
LABlab(95.9 -2.8 12.5)
LCHlch(95.9 12.8 102.6)
OKLCHoklch(0.964 0.033 99.5)
Decimal16315611
Display P3color(display-p3 0.973 0.957 0.859)

Copy-ready code

/* CSS */
color: #f8f4db;
background-color: #f8f4db;
/* Tailwind (arbitrary) */
class="text-[#f8f4db] bg-[#f8f4db]"
/* SCSS */
$brand: #f8f4db;
/* SwiftUI */
Color(red: 0.973, green: 0.957, blue: 0.859)
/* Android */
Color.parseColor("#f8f4db")
/* Flutter */
Color(0xFFF8F4DB)
/* Python / OpenCV (BGR) */
(219, 244, 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 #f8f4db · 18.95:1
Use #000000AAA at every size.
Aa
White text · 1.11:1
AA fail · AA large fail · AAA fail
Aa
Black text · 18.95:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f8f4db as text scores 1.11:1 on white and 18.95:1 on black.

Accessibility — WCAG contrast

Aa
#f8f4db on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f8f4db on black: 18.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F9F2DA
deuteranopia · #FBF4DC
tritanopia · #FDF0ED

Color scale — 50 to 950

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

#FBFAF3
#f8f4db
#F2ECCA
#EDE2A1
#E4D472
#DAC643
#CDB628
#AB9821
#89791B
#635917
#3E370F
Base = 100Lightest = 50 · #FBFAF3Darkest = 950 · #3E370F
:root {
  --brand-50: #FBFAF3;
  --brand-100: #f8f4db;
  --brand-200: #F2ECCA;
  --brand-300: #EDE2A1;
  --brand-400: #E4D472;
  --brand-500: #DAC643;
  --brand-600: #CDB628;
  --brand-700: #AB9821;
  --brand-800: #89791B;
  --brand-900: #635917;
  --brand-950: #3E370F;
  --brand: #f8f4db;
  --brand-ink: #000000;
}

Colors that work with #f8f4db

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#EDE6C0
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#1C55B0
Second voice, not a rival
Dark variant#6B5F15
Hover, pressed, headers
Light variant#FBF8EA
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 #f8f4db

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#DBDFF8
Analogous left#F8E6DB
Analogous right#EEF8DB
Split-complement 1#DBEEF8
Split-complement 2#E6DBF8
Triadic 1#DBF8F4
Triadic 2#F4DBF8
Tetradic#DBF8E6

RGB percentages

Red97.3%
Green95.7%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow11.7%
Key (black)2.7%

Color previews

#f8f4db text on a black background

contrast 18.95:1

Card sample

#f8f4db text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8f4db

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.

#f8f4db 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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#f8f4db, answered

What color is #f8f4db?

#f8f4db is a pale vivid yellow, closest to Corn Silk (ΔE2000 1.7). It sits at 52° on the hue wheel with 67% saturation and 92% lightness, which reads as warm.

What is the RGB value of #f8f4db?

rgb(248, 244, 219) — 248 red, 244 green and 219 blue out of 255, or 97.3% / 95.7% / 85.9% by channel.

Is #f8f4db a light or a dark color?

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

Should I use black or white text on #f8f4db?

Black. It scores 18.95:1 against #f8f4db, versus 1.11:1 for white — AAA at any size.

What is the complementary color of #f8f4db?

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

What colors go well with #f8f4db?

For interface work: #FAFAF4 as the surface, #EDE6C0 for borders, #9B904B for secondary text, #1C55B0 as an accent and #6B5F15 for hover and pressed states. For a palette, the analogous pair #F8E6DB and #EEF8DB stays calm, while #DBDFF8 is the loudest partner.

What is #f8f4db in CMYK for printing?

cmyk(0%, 2%, 12%, 3%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #f8f4db warm or cool?

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

Work with #f8f4db in the Color Lab