#F8FBF2#F8FBF2

#F8FBF2 is a very light, near-neutral yellow-green. Relative luminance 0.954; OKLCH L 98.3% C 0.012 H 121.7°. Best body text is #000000 at 20.07:1 contrast (WCAG AA passes).

Color values

HEX#F8FBF2
RGBrgb(248, 251, 242)
HSLhsl(80, 53%, 97%)
HSVhsv(80, 4%, 98%)
CMYKcmyk(1.2%, 0%, 3.6%, 1.6%)
CIE-LABlab(98.18, -2.56, 3.96)
CIE-LCHlch(98.18, 4.71, 122.85°)
OKLaboklab(98.34% -0.0064 0.0104)
OKLCHoklch(98.34% 0.012 121.7)
XYZxyz(89.2330, 95.3616, 97.6928)
Luminance0.9536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FBF2 #F5F2FB
analogous
#FBFAF2 #F8FBF2 #F4FBF2
triadic
#F8FBF2 #F2F8FB #FBF2F8
tetradic
#F8FBF2 #F2FBFA #F5F2FB #FBF2F4
square
#F8FBF2 #F2FBFA #F5F2FB #FBF2F4
split-complementary
#F8FBF2 #F2F4FB #FAF2FB
monochromatic
#C6DE94 #DFEDC3 #F2F8E8 #F2F8E8 #F2F8E8

Accessibility & contrast

On white

1.05
#F8FBF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.07
#F8FBF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FBF2
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FBF2#FFFFFF#000000##000000
##F8FBF21.001.0520.0720.07
#FFFFFF1.051.0021.0021.00
#00000020.0721.001.001.00
##00000020.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCFAF2
Deuteranopia (green-blind)
#FCFAF2
Tritanopia (blue-blind)
#F9FAF8
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #f8fbf2;
/* rgb */ color: rgb(248, 251, 242);
/* oklch */ color: oklch(98.3% 0.012 121.7);
Tailwind
colors: {
  custom: {
    50: '#fafcf6',
    500: '#f8fbf2',
    950: '#000000',
  },
}
SCSS
$custom: #f8fbf2;
$custom-light: #fafcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fbf2",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 242
  },
  "hsl": {
    "h": 80,
    "s": 52.941,
    "l": 96.667
  },
  "oklch": {
    "l": 0.98336,
    "c": 0.01224,
    "h": 121.7
  },
  "luminance": 0.95362
}

Semantic roles & 50–950 ramp

primary
#F8FBF2
secondary
#C2B4DD
accent
#25C059
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F8FBF2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F8FBF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva