#f2f8e4
a pale, vivid green · warm · closest name: Beige
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.
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 |
| RGB | rgb(242, 248, 228) |
| HSL | hsl(78, 59%, 93%) |
| CMYK | cmyk(2%, 0%, 8%, 3%) |
| LAB | lab(96.7 -5.4 8.9) |
| LCH | lch(96.7 10.4 121.3) |
| OKLCH | oklch(0.969 0.027 120.5) |
| Decimal | 15923428 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #f2f8e4
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #F8F4E4 | Neighbour, quieter | |
| Analogous right | #E8F8E4 | Neighbour, quieter | |
| Split-complement 1 | #E4E8F8 | Contrast without the clash | |
| Split-complement 2 | #F4E4F8 | Contrast without the clash | |
| Triadic 1 | #E4F2F8 | Even thirds — balanced and loud | |
| Triadic 2 | #F8E4F2 | Even thirds — balanced and loud | |
| Tetradic | #E4F8F4 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#f2f8e4 text on a black background
contrast 19.32:1
#f2f8e4 text on a white background
contrast 1.09:1
CSS3 live lab
The quick brown fox
color: #f2f8e4;
background-color: #f2f8e4;
Glowing headline
text-shadow: 2px 2px 8px #f2f8e4;
Soft neon halo
text-shadow: 0 0 14px rgba(242, 248, 228, 0.45);
box-shadow: 0 12px 32px -8px rgba(242, 248, 228, 0.45);
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.
Closest color with a full write-up: Beige (#f5f5dc) — ΔE2000 2.9 away, with its history, psychology and brand usage.
#f2f8e4 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.