Skip to content

#f5f1cd

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

RGB
245, 241, 205
HSL
54°, 67%, 88%
CMYK
0, 2, 16, 4
Luminance
0.8673

At a glance

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

Hex
#f5f1cd
Hue
54°
yellow
Saturation
67%
vivid
Lightness
88%
pale
Brightness
96%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8673
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
18.35:1
Closest name
Light Goldenrod Yellow
ΔE2000 2.5
Where it sits
Hue54° of 360°
Saturation67%
Lightness88%
Temperature
Warm ← → Cool20% 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#f5f1cd
RGBrgb(245, 241, 205)
HSLhsl(54, 67%, 88%)
CMYKcmyk(0%, 2%, 16%, 4%)
LABlab(94.6 -4.5 17.9)
LCHlch(94.6 18.4 104.1)
OKLCHoklch(0.952 0.047 102.0)
Decimal16118221
Display P3color(display-p3 0.961 0.945 0.804)

Copy-ready code

/* CSS */
color: #f5f1cd;
background-color: #f5f1cd;
/* Tailwind (arbitrary) */
class="text-[#f5f1cd] bg-[#f5f1cd]"
/* SCSS */
$brand: #f5f1cd;
/* SwiftUI */
Color(red: 0.961, green: 0.945, blue: 0.804)
/* Android */
Color.parseColor("#f5f1cd")
/* Flutter */
Color(0xFFF5F1CD)
/* Python / OpenCV (BGR) */
(205, 241, 245)

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

Accessibility — WCAG contrast

Aa
#f5f1cd on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f5f1cd on black: 18.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8EECB
deuteranopia · #FAF1CE
tritanopia · #FCECE7

Color scale — 50 to 950

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

#FBFBF3
#F8F6E8
#f5f1cd
#ECE5A1
#E3D873
#DACB44
#CCBC29
#AA9C22
#887D1B
#635B18
#3E390F
Base = 200Lightest = 50 · #FBFBF3Darkest = 950 · #3E390F
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F6E8;
  --brand-200: #f5f1cd;
  --brand-300: #ECE5A1;
  --brand-400: #E3D873;
  --brand-500: #DACB44;
  --brand-600: #CCBC29;
  --brand-700: #AA9C22;
  --brand-800: #887D1B;
  --brand-900: #635B18;
  --brand-950: #3E390F;
  --brand: #f5f1cd;
  --brand-ink: #000000;
}

Colors that work with #f5f1cd

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#EDE8C0
Hairlines and dividers
Muted text#9B934B
Captions on the surface
Accent#1F52AD
Second voice, not a rival
Dark variant#6A6215
Hover, pressed, headers
Light variant#FBF9EA
Selected rows, tints
Dark surface#242314
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 #f5f1cd

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#CDD1F5
Analogous left#F5DDCD
Analogous right#E5F5CD
Split-complement 1#CDE5F5
Split-complement 2#DDCDF5
Triadic 1#CDF5F1
Triadic 2#F1CDF5
Tetradic#CDF5DD

RGB percentages

Red96.1%
Green94.5%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow16.3%
Key (black)3.9%

Color previews

#f5f1cd text on a black background

contrast 18.35:1

Card sample

#f5f1cd text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5f1cd

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.

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

#f5f1cd, answered

What color is #f5f1cd?

#f5f1cd is a pale vivid yellow, closest to Light Goldenrod Yellow (ΔE2000 2.5). It sits at 54° on the hue wheel with 67% saturation and 88% lightness, which reads as warm.

What is the RGB value of #f5f1cd?

rgb(245, 241, 205) — 245 red, 241 green and 205 blue out of 255, or 96.1% / 94.5% / 80.4% by channel.

Is #f5f1cd a light or a dark color?

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

Should I use black or white text on #f5f1cd?

Black. It scores 18.35:1 against #f5f1cd, versus 1.14:1 for white — AAA at any size.

What is the complementary color of #f5f1cd?

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

What colors go well with #f5f1cd?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B934B for secondary text, #1F52AD as an accent and #6A6215 for hover and pressed states. For a palette, the analogous pair #F5DDCD and #E5F5CD stays calm, while #CDD1F5 is the loudest partner.

What is #f5f1cd in CMYK for printing?

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

Is #f5f1cd warm or cool?

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

Work with #f5f1cd in the Color Lab