Skip to content

#f7edcf

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

RGB
247, 237, 207
HSL
45°, 71%, 89%
CMYK
0, 4, 16, 3
Luminance
0.8485

At a glance

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

Hex
#f7edcf
Hue
45°
yellow
Saturation
71%
vivid
Lightness
89%
pale
Brightness
97%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8485
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.97:1
Closest name
Corn Silk
ΔE2000 2.6
Where it sits
Hue45° of 360°
Saturation71%
Lightness89%
Temperature
Warm ← → Cool13% 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#f7edcf
RGBrgb(247, 237, 207)
HSLhsl(45, 71%, 89%)
CMYKcmyk(0%, 4%, 16%, 3%)
LABlab(93.8 -1.5 15.8)
LCHlch(93.8 15.8 95.3)
OKLCHoklch(0.946 0.041 91.7)
Decimal16248271
Display P3color(display-p3 0.969 0.929 0.812)

Copy-ready code

/* CSS */
color: #f7edcf;
background-color: #f7edcf;
/* Tailwind (arbitrary) */
class="text-[#f7edcf] bg-[#f7edcf]"
/* SCSS */
$brand: #f7edcf;
/* SwiftUI */
Color(red: 0.969, green: 0.929, blue: 0.812)
/* Android */
Color.parseColor("#f7edcf")
/* Flutter */
Color(0xFFF7EDCF)
/* Python / OpenCV (BGR) */
(207, 237, 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 #f7edcf · 17.97:1
Use #000000AAA at every size.
Aa
White text · 1.17:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.97:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f7edcf as text scores 1.17:1 on white and 17.97:1 on black.

Accessibility — WCAG contrast

Aa
#f7edcf on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#f7edcf on black: 17.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4EBCD
deuteranopia · #F7EFD0
tritanopia · #FEE8E4

Color scale — 50 to 950

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

#FCF9F3
#F8F4E7
#f7edcf
#EFDB9F
#E7C96F
#DFB73F
#D2A623
#AF8A1D
#8C6F17
#655115
#3F330D
Base = 200Lightest = 50 · #FCF9F3Darkest = 950 · #3F330D
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F8F4E7;
  --brand-200: #f7edcf;
  --brand-300: #EFDB9F;
  --brand-400: #E7C96F;
  --brand-500: #DFB73F;
  --brand-600: #D2A623;
  --brand-700: #AF8A1D;
  --brand-800: #8C6F17;
  --brand-900: #655115;
  --brand-950: #3F330D;
  --brand: #f7edcf;
  --brand-ink: #000000;
}

Colors that work with #f7edcf

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#FAF9F4
Tinted page background
Border#EDE1C0
Hairlines and dividers
Muted text#9B874B
Captions on the surface
Accent#1966B3
Second voice, not a rival
Dark variant#6D5712
Hover, pressed, headers
Light variant#FBF7E9
Selected rows, tints
Dark surface#242014
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 #f7edcf

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#CFD9F7
Analogous left#F7D9CF
Analogous right#EDF7CF
Split-complement 1#CFEDF7
Split-complement 2#D9CFF7
Triadic 1#CFF7ED
Triadic 2#EDCFF7
Tetradic#CFF7D9

RGB percentages

Red96.9%
Green92.9%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow16.2%
Key (black)3.1%

Color previews

#f7edcf text on a black background

contrast 17.97:1

Card sample

#f7edcf text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7edcf

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.

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

#f7edcf, answered

What color is #f7edcf?

#f7edcf is a pale vivid yellow, closest to Corn Silk (ΔE2000 2.6). It sits at 45° on the hue wheel with 71% saturation and 89% lightness, which reads as warm.

What is the RGB value of #f7edcf?

rgb(247, 237, 207) — 247 red, 237 green and 207 blue out of 255, or 96.9% / 92.9% / 81.2% by channel.

Is #f7edcf a light or a dark color?

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

Should I use black or white text on #f7edcf?

Black. It scores 17.97:1 against #f7edcf, versus 1.17:1 for white — AAA at any size.

What is the complementary color of #f7edcf?

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

What colors go well with #f7edcf?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B874B for secondary text, #1966B3 as an accent and #6D5712 for hover and pressed states. For a palette, the analogous pair #F7D9CF and #EDF7CF stays calm, while #CFD9F7 is the loudest partner.

What is #f7edcf in CMYK for printing?

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

Is #f7edcf warm or cool?

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

Work with #f7edcf in the Color Lab