Skip to content

#f5fbef

a pale, vivid green · neutral · closest name: Ivory

RGB
245, 251, 239
HSL
90°, 60%, 96%
CMYK
2, 0, 5, 2
Luminance
0.9464

At a glance

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

Hex
#f5fbef
Hue
90°
green
Saturation
60%
vivid
Lightness
96%
pale
Brightness
98%
HSV value
Perceived
97%
weighted brightness
Luminance
0.9464
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
19.93:1
Closest name
Ivory
ΔE2000 2.9
Where it sits
Hue90° of 360°
Saturation60%
Lightness96%
Temperature
Warm ← → Cool50% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#f5fbef
RGBrgb(245, 251, 239)
HSLhsl(90, 60%, 96%)
CMYKcmyk(2%, 0%, 5%, 2%)
LABlab(97.9 -4.1 5.1)
LCHlch(97.9 6.5 128.8)
OKLCHoklch(0.980 0.017 128.7)
Decimal16120815
Display P3color(display-p3 0.961 0.984 0.937)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5fbef on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#f5fbef on black: 19.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FCF9EE
deuteranopia · #FBF9EF
tritanopia · #F6FAF7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f5fbef is pinned to step 50; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#f5fbef
#F0F7E9
#DEEFCC
#C7E9A5
#ABDD78
#8FD24B
#7AC431
#66A329
#528321
#3D5F1B
#263B11
Base = 50Lightest = 50 · #f5fbefDarkest = 950 · #263B11
:root {
  --brand-50: #f5fbef;
  --brand-100: #F0F7E9;
  --brand-200: #DEEFCC;
  --brand-300: #C7E9A5;
  --brand-400: #ABDD78;
  --brand-500: #8FD24B;
  --brand-600: #7AC431;
  --brand-700: #66A329;
  --brand-800: #528321;
  --brand-900: #3D5F1B;
  --brand-950: #263B11;
  --brand: #f5fbef;
  --brand-ink: #000000;
}

Colors that work with #f5fbef

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#F7FAF4
Tinted page background
Border#D6EDC0
Hairlines and dividers
Muted text#739B4B
Captions on the surface
Accent#4729A3
Second voice, not a rival
Dark variant#40661A
Hover, pressed, headers
Light variant#F2FAEB
Selected rows, tints
Dark surface#1C2414
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 #f5fbef

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
  • 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#F5EFFB
Analogous left#FBFBEF
Analogous right#EFFBEF
Split-complement 1#EFEFFB
Split-complement 2#FBEFFB
Triadic 1#EFF5FB
Triadic 2#FBEFF5
Tetradic#EFFBFB

RGB percentages

Red96.1%
Green98.4%
Blue93.7%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow4.8%
Key (black)1.6%

Color previews

#f5fbef text on a black background

contrast 19.93:1

Card sample

#f5fbef text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5fbef

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.

#f5fbef in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#f5fbef, answered

What color is #f5fbef?

#f5fbef is a pale vivid green, closest to Ivory (ΔE2000 2.9). It sits at 90° on the hue wheel with 60% saturation and 96% lightness, which reads as neutral.

What is the RGB value of #f5fbef?

rgb(245, 251, 239) — 245 red, 251 green and 239 blue out of 255, or 96.1% / 98.4% / 93.7% by channel.

Is #f5fbef a light or a dark color?

It is a light color. Relative luminance is 0.9464 and perceived brightness is 97%, so black text on it reaches 19.93:1.

Should I use black or white text on #f5fbef?

Black. It scores 19.93:1 against #f5fbef, versus 1.05:1 for white — AAA at any size.

What is the complementary color of #f5fbef?

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

What colors go well with #f5fbef?

For interface work: #F7FAF4 as the surface, #D6EDC0 for borders, #739B4B for secondary text, #4729A3 as an accent and #40661A for hover and pressed states. For a palette, the analogous pair #FBFBEF and #EFFBEF stays calm, while #F5EFFB is the loudest partner.

What is #f5fbef in CMYK for printing?

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

Is #f5fbef warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F9FBEF; nudged cooler, #F1FBEF.

Work with #f5fbef in the Color Lab