Skip to content

#f5f6cd

a pale, vivid yellow · warm · “Light Goldenrod Yellow”

RGB
245, 246, 205
HSL
62°, 70%, 88%
CMYK
0, 0, 17, 4
Luminance
0.8973

At a glance

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

Hex
#f5f6cd
Hue
62°
yellow
Saturation
70%
vivid
Lightness
88%
pale
Brightness
96%
HSV value
Perceived
95%
weighted brightness
Luminance
0.8973
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
18.95:1
Closest name
Light Goldenrod Yellow
ΔE2000 1
Where it sits
Hue62° of 360°
Saturation70%
Lightness88%
Temperature
Warm ← → Cool26% 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#f5f6cd
RGBrgb(245, 246, 205)
HSLhsl(62, 70%, 88%)
CMYKcmyk(0%, 0%, 17%, 4%)
LABlab(95.9 -7.0 19.7)
LCHlch(95.9 20.9 109.6)
OKLCHoklch(0.962 0.053 108.5)
Decimal16119501
Display P3color(display-p3 0.961 0.965 0.804)

Copy-ready code

/* CSS */
color: #f5f6cd;
background-color: #f5f6cd;
/* Tailwind (arbitrary) */
class="text-[#f5f6cd] bg-[#f5f6cd]"
/* SCSS */
$brand: #f5f6cd;
/* SwiftUI */
Color(red: 0.961, green: 0.965, blue: 0.804)
/* Android */
Color.parseColor("#f5f6cd")
/* Flutter */
Color(0xFFF5F6CD)
/* Python / OpenCV (BGR) */
(205, 246, 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 #f5f6cd · 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: #f5f6cd as text scores 1.11:1 on white and 18.95:1 on black.

Accessibility — WCAG contrast

Aa
#f5f6cd on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f5f6cd on black: 18.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDF2CB
deuteranopia · #FEF4CE
tritanopia · #FBF1EB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f5f6cd 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
#F8F8E7
#f5f6cd
#ECEEA0
#E2E570
#D9DD41
#CBCF25
#A9AD1F
#878A19
#626416
#3D3F0E
Base = 200Lightest = 50 · #FBFBF3Darkest = 950 · #3D3F0E
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F8F8E7;
  --brand-200: #f5f6cd;
  --brand-300: #ECEEA0;
  --brand-400: #E2E570;
  --brand-500: #D9DD41;
  --brand-600: #CBCF25;
  --brand-700: #A9AD1F;
  --brand-800: #878A19;
  --brand-900: #626416;
  --brand-950: #3D3F0E;
  --brand: #f5f6cd;
  --brand-ink: #000000;
}

Colors that work with #f5f6cd

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#ECEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#1C3BB0
Second voice, not a rival
Dark variant#6A6C13
Hover, pressed, headers
Light variant#FBFBE9
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 #f5f6cd

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#CECDF6
Analogous left#F6E2CD
Analogous right#E0F6CD
Split-complement 1#CDE0F6
Split-complement 2#E2CDF6
Triadic 1#CDF5F6
Triadic 2#F6CDF5
Tetradic#CDF6E2

RGB percentages

Red96.1%
Green96.5%
Blue80.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow16.7%
Key (black)3.5%

Color previews

#f5f6cd text on a black background

contrast 18.95:1

Card sample

#f5f6cd text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5f6cd

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.

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

#f5f6cd, answered

What color is #f5f6cd?

#f5f6cd is a pale vivid yellow — the CSS keyword Light Goldenrod Yellow. It sits at 62° on the hue wheel with 70% saturation and 88% lightness, which reads as warm.

What is the RGB value of #f5f6cd?

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

Is #f5f6cd a light or a dark color?

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

Should I use black or white text on #f5f6cd?

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

What is the complementary color of #f5f6cd?

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

What colors go well with #f5f6cd?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #1C3BB0 as an accent and #6A6C13 for hover and pressed states. For a palette, the analogous pair #F6E2CD and #E0F6CD stays calm, while #CECDF6 is the loudest partner.

What is #f5f6cd in CMYK for printing?

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

Is #f5f6cd warm or cool?

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

Work with #f5f6cd in the Color Lab