Skip to content

#f2f7e3

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

RGB
242, 247, 227
HSL
75°, 56%, 93%
CMYK
2, 0, 8, 3
Luminance
0.9094

At a glance

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

Hex
#f2f7e3
Hue
75°
green
Saturation
56%
vivid
Lightness
93%
pale
Brightness
97%
HSV value
Perceived
95%
weighted brightness
Luminance
0.9094
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
19.19:1
Closest name
Beige
ΔE2000 2.5
Where it sits
Hue75° of 360°
Saturation56%
Lightness93%
Temperature
Warm ← → Cool38% 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#f2f7e3
RGBrgb(242, 247, 227)
HSLhsl(75, 56%, 93%)
CMYKcmyk(2%, 0%, 8%, 3%)
LABlab(96.4 -5.1 9.0)
LCHlch(96.4 10.4 119.4)
OKLCHoklch(0.967 0.027 118.3)
Decimal15923171
Display P3color(display-p3 0.949 0.969 0.890)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2f7e3 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f2f7e3 on black: 19.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAF5E2
deuteranopia · #F9F5E4
tritanopia · #F4F5F1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f2f7e3 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
#f2f7e3
#E6EECE
#D6E6A8
#C2DA7C
#AECD50
#9CBE36
#829F2D
#687F24
#4D5D1E
#303A13
Base = 100Lightest = 50 · #F9FBF4Darkest = 950 · #303A13
:root {
  --brand-50: #F9FBF4;
  --brand-100: #f2f7e3;
  --brand-200: #E6EECE;
  --brand-300: #D6E6A8;
  --brand-400: #C2DA7C;
  --brand-500: #AECD50;
  --brand-600: #9CBE36;
  --brand-700: #829F2D;
  --brand-800: #687F24;
  --brand-900: #4D5D1E;
  --brand-950: #303A13;
  --brand: #f2f7e3;
  --brand-ink: #000000;
}

Colors that work with #f2f7e3

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#E1EDC0
Hairlines and dividers
Muted text#879B4B
Captions on the surface
Accent#2828A4
Second voice, not a rival
Dark variant#51631C
Hover, pressed, headers
Light variant#F6F9EB
Selected rows, tints
Dark surface#202414
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 #f2f7e3

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#E8E3F7
Analogous left#F7F2E3
Analogous right#E8F7E3
Split-complement 1#E3E8F7
Split-complement 2#F2E3F7
Triadic 1#E3F2F7
Triadic 2#F7E3F2
Tetradic#E3F7F2

RGB percentages

Red94.9%
Green96.9%
Blue89.0%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow8.1%
Key (black)3.1%

Color previews

#f2f7e3 text on a black background

contrast 19.19:1

Card sample

#f2f7e3 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f7e3

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.

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

#f2f7e3, answered

What color is #f2f7e3?

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

What is the RGB value of #f2f7e3?

rgb(242, 247, 227) — 242 red, 247 green and 227 blue out of 255, or 94.9% / 96.9% / 89% by channel.

Is #f2f7e3 a light or a dark color?

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

Should I use black or white text on #f2f7e3?

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

What is the complementary color of #f2f7e3?

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

What colors go well with #f2f7e3?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #879B4B for secondary text, #2828A4 as an accent and #51631C for hover and pressed states. For a palette, the analogous pair #F7F2E3 and #E8F7E3 stays calm, while #E8E3F7 is the loudest partner.

What is #f2f7e3 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 #f2f7e3 warm or cool?

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

Work with #f2f7e3 in the Color Lab