Skip to content

#f5f5ba

a light, vivid yellow · warm · closest name: Pale Goldenrod

RGB
245, 245, 186
HSL
60°, 75%, 85%
CMYK
0, 0, 24, 4
Luminance
0.8826

At a glance

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

Hex
#f5f5ba
Hue
60°
yellow
Saturation
75%
vivid
Lightness
85%
light
Brightness
96%
HSV value
Perceived
94%
weighted brightness
Luminance
0.8826
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
18.65:1
Closest name
Pale Goldenrod
ΔE2000 3.2
Where it sits
Hue60° of 360°
Saturation75%
Lightness85%
Temperature
Warm ← → Cool25% 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#f5f5ba
RGBrgb(245, 245, 186)
HSLhsl(60, 75%, 85%)
CMYKcmyk(0%, 0%, 24%, 4%)
LABlab(95.3 -9.2 28.5)
LCHlch(95.3 29.9 107.8)
OKLCHoklch(0.956 0.076 107.7)
Decimal16119226
Display P3color(display-p3 0.961 0.961 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5f5ba on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#f5f5ba on black: 18.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF0B6
deuteranopia · #FFF3BC
tritanopia · #FEEDE5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f5f5ba 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
#F9F9E7
#f5f5ba
#F1F19D
#EAEA6C
#E3E33B
#D6D61F
#B2B21A
#8F8F15
#676713
#41410C
Base = 200Lightest = 50 · #FCFCF3Darkest = 950 · #41410C
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F9E7;
  --brand-200: #f5f5ba;
  --brand-300: #F1F19D;
  --brand-400: #EAEA6C;
  --brand-500: #E3E33B;
  --brand-600: #D6D61F;
  --brand-700: #B2B21A;
  --brand-800: #8F8F15;
  --brand-900: #676713;
  --brand-950: #41410C;
  --brand: #f5f5ba;
  --brand-ink: #000000;
}

Colors that work with #f5f5ba

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#EDEDC0
Hairlines and dividers
Muted text#9B9B4B
Captions on the surface
Accent#153EB7
Second voice, not a rival
Dark variant#6F6F10
Hover, pressed, headers
Light variant#FCFCE9
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 #f5f5ba

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#BABAF5
Analogous left#F5D7BA
Analogous right#D7F5BA
Split-complement 1#BAD7F5
Split-complement 2#D7BAF5
Triadic 1#BAF5F5
Triadic 2#F5BAF5
Tetradic#BAF5D7

RGB percentages

Red96.1%
Green96.1%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow24.1%
Key (black)3.9%

Color previews

#f5f5ba text on a black background

contrast 18.65:1

Card sample

#f5f5ba text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5f5ba

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.

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

Converts to four-color process without much drama. Proof it anyway.

#f5f5ba, answered

What color is #f5f5ba?

#f5f5ba is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 3.2). It sits at 60° on the hue wheel with 75% saturation and 85% lightness, which reads as warm.

What is the RGB value of #f5f5ba?

rgb(245, 245, 186) — 245 red, 245 green and 186 blue out of 255, or 96.1% / 96.1% / 72.9% by channel.

Is #f5f5ba a light or a dark color?

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

Should I use black or white text on #f5f5ba?

Black. It scores 18.65:1 against #f5f5ba, versus 1.13:1 for white — AAA at any size.

What is the complementary color of #f5f5ba?

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

What colors go well with #f5f5ba?

For interface work: #FAFAF4 as the surface, #EDEDC0 for borders, #9B9B4B for secondary text, #153EB7 as an accent and #6F6F10 for hover and pressed states. For a palette, the analogous pair #F5D7BA and #D7F5BA stays calm, while #BABAF5 is the loudest partner.

What is #f5f5ba in CMYK for printing?

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

Is #f5f5ba warm or cool?

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

Work with #f5f5ba in the Color Lab