Skip to content

#f7f5c0

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

RGB
247, 245, 192
HSL
58°, 78%, 86%
CMYK
0, 1, 22, 3
Luminance
0.8888

At a glance

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

Hex
#f7f5c0
Hue
58°
yellow
Saturation
78%
electric
Lightness
86%
pale
Brightness
97%
HSV value
Perceived
94%
weighted brightness
Luminance
0.8888
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
18.78:1
Closest name
Lemon Chiffon
ΔE2000 2.5
Where it sits
Hue58° of 360°
Saturation78%
Lightness86%
Temperature
Warm ← → Cool23% 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#f7f5c0
RGBrgb(247, 245, 192)
HSLhsl(58, 78%, 86%)
CMYKcmyk(0%, 1%, 22%, 3%)
LABlab(95.5 -7.6 25.8)
LCHlch(95.5 26.9 106.5)
OKLCHoklch(0.959 0.068 105.8)
Decimal16250304
Display P3color(display-p3 0.969 0.961 0.753)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7f5c0 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f7f5c0 on black: 18.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEF1BD
deuteranopia · #FFF3C2
tritanopia · #FFEEE7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f7f5c0 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
#F9F8E6
#f7f5c0
#F2EF9B
#ECE76A
#E6DF38
#D9D21C
#B5AF17
#918C12
#696612
#42400B
Base = 200Lightest = 50 · #FCFCF3Darkest = 950 · #42400B
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F8E6;
  --brand-200: #f7f5c0;
  --brand-300: #F2EF9B;
  --brand-400: #ECE76A;
  --brand-500: #E6DF38;
  --brand-600: #D9D21C;
  --brand-700: #B5AF17;
  --brand-800: #918C12;
  --brand-900: #696612;
  --brand-950: #42400B;
  --brand: #f7f5c0;
  --brand-ink: #000000;
}

Colors that work with #f7f5c0

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#EDEBC0
Hairlines and dividers
Muted text#9B984B
Captions on the surface
Accent#1442B8
Second voice, not a rival
Dark variant#716E0E
Hover, pressed, headers
Light variant#FCFBE8
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 #f7f5c0

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#C0C2F7
Analogous left#F7DAC0
Analogous right#DEF7C0
Split-complement 1#C0DEF7
Split-complement 2#DAC0F7
Triadic 1#C0F7F5
Triadic 2#F5C0F7
Tetradic#C0F7DA

RGB percentages

Red96.9%
Green96.1%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow22.3%
Key (black)3.1%

Color previews

#f7f5c0 text on a black background

contrast 18.78:1

Card sample

#f7f5c0 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7f5c0

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.

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

#f7f5c0, answered

What color is #f7f5c0?

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

What is the RGB value of #f7f5c0?

rgb(247, 245, 192) — 247 red, 245 green and 192 blue out of 255, or 96.9% / 96.1% / 75.3% by channel.

Is #f7f5c0 a light or a dark color?

It is a light color. Relative luminance is 0.8888 and perceived brightness is 94%, so black text on it reaches 18.78:1.

Should I use black or white text on #f7f5c0?

Black. It scores 18.78:1 against #f7f5c0, versus 1.12:1 for white — AAA at any size.

What is the complementary color of #f7f5c0?

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

What colors go well with #f7f5c0?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B984B for secondary text, #1442B8 as an accent and #716E0E for hover and pressed states. For a palette, the analogous pair #F7DAC0 and #DEF7C0 stays calm, while #C0C2F7 is the loudest partner.

What is #f7f5c0 in CMYK for printing?

cmyk(0%, 1%, 22%, 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 #f7f5c0 warm or cool?

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

Work with #f7f5c0 in the Color Lab