Skip to content

#f2f8e4

a pale, vivid green · warm · closest name: Beige

RGB
242, 248, 228
HSL
78°, 59%, 93%
CMYK
2, 0, 8, 3
Luminance
0.9161

At a glance

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

Hex
#f2f8e4
Hue
78°
green
Saturation
59%
vivid
Lightness
93%
pale
Brightness
97%
HSV value
Perceived
96%
weighted brightness
Luminance
0.9161
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
19.32:1
Closest name
Beige
ΔE2000 2.9
Where it sits
Hue78° of 360°
Saturation59%
Lightness93%
Temperature
Warm ← → Cool40% 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#f2f8e4
RGBrgb(242, 248, 228)
HSLhsl(78, 59%, 93%)
CMYKcmyk(2%, 0%, 8%, 3%)
LABlab(96.7 -5.4 8.9)
LCHlch(96.7 10.4 121.3)
OKLCHoklch(0.969 0.027 120.5)
Decimal15923428
Display P3color(display-p3 0.949 0.973 0.894)

Copy-ready code

/* CSS */
color: #f2f8e4;
background-color: #f2f8e4;
/* Tailwind (arbitrary) */
class="text-[#f2f8e4] bg-[#f2f8e4]"
/* SCSS */
$brand: #f2f8e4;
/* SwiftUI */
Color(red: 0.949, green: 0.973, blue: 0.894)
/* Android */
Color.parseColor("#f2f8e4")
/* Flutter */
Color(0xFFF2F8E4)
/* Python / OpenCV (BGR) */
(228, 248, 242)

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

Accessibility — WCAG contrast

Aa
#f2f8e4 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f2f8e4 on black: 19.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBF5E3
deuteranopia · #FAF5E5
tritanopia · #F4F6F2

Color scale — 50 to 950

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

#F9FBF4
#f2f8e4
#E5EFCD
#D4E8A6
#BFDC79
#A9D14D
#97C232
#7EA22A
#658222
#4A5E1C
#2F3B12
Base = 100Lightest = 50 · #F9FBF4Darkest = 950 · #2F3B12
:root {
  --brand-50: #F9FBF4;
  --brand-100: #f2f8e4;
  --brand-200: #E5EFCD;
  --brand-300: #D4E8A6;
  --brand-400: #BFDC79;
  --brand-500: #A9D14D;
  --brand-600: #97C232;
  --brand-700: #7EA22A;
  --brand-800: #658222;
  --brand-900: #4A5E1C;
  --brand-950: #2F3B12;
  --brand: #f2f8e4;
  --brand-ink: #000000;
}

Colors that work with #f2f8e4

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#F9FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#2A24A8
Second voice, not a rival
Dark variant#4F651A
Hover, pressed, headers
Light variant#F5FAEB
Selected rows, tints
Dark surface#1F2414
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 #f2f8e4

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#EAE4F8
Analogous left#F8F4E4
Analogous right#E8F8E4
Split-complement 1#E4E8F8
Split-complement 2#F4E4F8
Triadic 1#E4F2F8
Triadic 2#F8E4F2
Tetradic#E4F8F4

RGB percentages

Red94.9%
Green97.3%
Blue89.4%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow8.1%
Key (black)2.7%

Color previews

#f2f8e4 text on a black background

contrast 19.32:1

Card sample

#f2f8e4 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(242, 248, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 248, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2f8e4;
background: linear-gradient(135deg, #f2f8e4, #E5F8E4);

Monochromatic scale

Palettes built from #f2f8e4

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.

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

#f2f8e4, answered

What color is #f2f8e4?

#f2f8e4 is a pale vivid green, closest to Beige (ΔE2000 2.9). It sits at 78° on the hue wheel with 59% saturation and 93% lightness, which reads as warm.

What is the RGB value of #f2f8e4?

rgb(242, 248, 228) — 242 red, 248 green and 228 blue out of 255, or 94.9% / 97.3% / 89.4% by channel.

Is #f2f8e4 a light or a dark color?

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

Should I use black or white text on #f2f8e4?

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

What is the complementary color of #f2f8e4?

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

What colors go well with #f2f8e4?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #2A24A8 as an accent and #4F651A for hover and pressed states. For a palette, the analogous pair #F8F4E4 and #E8F8E4 stays calm, while #EAE4F8 is the loudest partner.

What is #f2f8e4 in CMYK for printing?

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

Is #f2f8e4 warm or cool?

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

Work with #f2f8e4 in the Color Lab