Skip to content

#f0f7eb

a pale, soft green · neutral · closest name: Mint Cream

RGB
240, 247, 235
HSL
95°, 43%, 95%
CMYK
3, 0, 5, 3
Luminance
0.9104

At a glance

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

Hex
#f0f7eb
Hue
95°
green
Saturation
43%
soft
Lightness
95%
pale
Brightness
97%
HSV value
Perceived
96%
weighted brightness
Luminance
0.9104
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Soft
Best ink
Black
19.21:1
Closest name
Mint Cream
ΔE2000 3.5
Where it sits
Hue95° of 360°
Saturation43%
Lightness95%
Temperature
Warm ← → Cool52% 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#f0f7eb
RGBrgb(240, 247, 235)
HSLhsl(95, 43%, 95%)
CMYKcmyk(3%, 0%, 5%, 3%)
LABlab(96.4 -4.4 5.0)
LCHlch(96.4 6.6 131.7)
OKLCHoklch(0.968 0.018 131.9)
Decimal15792107
Display P3color(display-p3 0.941 0.969 0.922)

Copy-ready code

/* CSS */
color: #f0f7eb;
background-color: #f0f7eb;
/* Tailwind (arbitrary) */
class="text-[#f0f7eb] bg-[#f0f7eb]"
/* SCSS */
$brand: #f0f7eb;
/* SwiftUI */
Color(red: 0.941, green: 0.969, blue: 0.922)
/* Android */
Color.parseColor("#f0f7eb")
/* Flutter */
Color(0xFFF0F7EB)
/* Python / OpenCV (BGR) */
(235, 247, 240)

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

Accessibility — WCAG contrast

Aa
#f0f7eb on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f0f7eb on black: 19.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8F5EA
deuteranopia · #F7F5EB
tritanopia · #F0F6F3

Color scale — 50 to 950

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

#F7FAF5
#f0f7eb
#DCEAD1
#C3DFAF
#A5CF87
#87BF5F
#72AF46
#5F923A
#4C752F
#395525
#243517
Base = 100Lightest = 50 · #F7FAF5Darkest = 950 · #243517
:root {
  --brand-50: #F7FAF5;
  --brand-100: #f0f7eb;
  --brand-200: #DCEAD1;
  --brand-300: #C3DFAF;
  --brand-400: #A5CF87;
  --brand-500: #87BF5F;
  --brand-600: #72AF46;
  --brand-700: #5F923A;
  --brand-800: #4C752F;
  --brand-900: #395525;
  --brand-950: #243517;
  --brand: #f0f7eb;
  --brand-ink: #000000;
}

Colors that work with #f0f7eb

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#D3E8C5
Hairlines and dividers
Muted text#6C9B4B
Captions on the surface
Accent#573399
Second voice, not a rival
Dark variant#3B5B24
Hover, pressed, headers
Light variant#F1F8ED
Selected rows, tints
Dark surface#1B2414
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 #f0f7eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#F2EBF7
Analogous left#F6F7EB
Analogous right#EBF7EC
Split-complement 1#ECEBF7
Split-complement 2#F7EBF6
Triadic 1#EBF0F7
Triadic 2#F7EBF0
Tetradic#EBF6F7

RGB percentages

Red94.1%
Green96.9%
Blue92.2%

CMYK percentages

Cyan2.8%
Magenta0.0%
Yellow4.9%
Key (black)3.1%

Color previews

#f0f7eb text on a black background

contrast 19.21:1

Card sample

#f0f7eb text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f7eb

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.

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

#f0f7eb, answered

What color is #f0f7eb?

#f0f7eb is a pale soft green, closest to Mint Cream (ΔE2000 3.5). It sits at 95° on the hue wheel with 43% saturation and 95% lightness, which reads as neutral.

What is the RGB value of #f0f7eb?

rgb(240, 247, 235) — 240 red, 247 green and 235 blue out of 255, or 94.1% / 96.9% / 92.2% by channel.

Is #f0f7eb a light or a dark color?

It is a light color. Relative luminance is 0.9104 and perceived brightness is 96%, so black text on it reaches 19.21:1.

Should I use black or white text on #f0f7eb?

Black. It scores 19.21:1 against #f0f7eb, versus 1.09:1 for white — AAA at any size.

What is the complementary color of #f0f7eb?

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

What colors go well with #f0f7eb?

For interface work: #F7FAF4 as the surface, #D3E8C5 for borders, #6C9B4B for secondary text, #573399 as an accent and #3B5B24 for hover and pressed states. For a palette, the analogous pair #F6F7EB and #EBF7EC stays calm, while #F2EBF7 is the loudest partner.

What is #f0f7eb in CMYK for printing?

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

Is #f0f7eb warm or cool?

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

Work with #f0f7eb in the Color Lab