#F8FAF6#F8FAF6

#F8FAF6 is a very light, near-neutral yellow-green. Relative luminance 0.950; OKLCH L 98.2% C 0.006 H 128.5°. Best body text is #000000 at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#F8FAF6
RGBrgb(248, 250, 246)
HSLhsl(90, 29%, 97%)
HSVhsv(90, 2%, 98%)
CMYKcmyk(0.8%, 0%, 1.6%, 2%)
CIE-LABlab(98.03, -1.36, 1.68)
CIE-LCHlch(98.03, 2.16, 129.00°)
OKLaboklab(98.25% -0.0035 0.0044)
OKLCHoklch(98.25% 0.006 128.5)
XYZxyz(89.5288, 94.9815, 100.7876)
Luminance0.9498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAF6 #F8F6FA
analogous
#FAFAF6 #F8FAF6 #F6FAF6
triadic
#F8FAF6 #F6F8FA #FAF6F8
tetradic
#F8FAF6 #F6FAFA #F8F6FA #FAF6F6
square
#F8FAF6 #F6FAFA #F8F6FA #FAF6F6
split-complementary
#F8FAF6 #F6F6FA #FAF6FA
monochromatic
#BBCEA7 #D9E4CF #F0F4EB #F0F4EB #F0F4EB

Accessibility & contrast

On white

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

On black

20.00
#F8FAF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAF6
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAF6#FFFFFF#000000##000000
##F8FAF61.001.0520.0020.00
#FFFFFF1.051.0021.0021.00
#00000020.0021.001.001.00
##00000020.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF9F6
Deuteranopia (green-blind)
#FAF9F6
Tritanopia (blue-blind)
#F8FAF9
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f8faf6;
/* rgb */ color: rgb(248, 250, 246);
/* oklch */ color: oklch(98.2% 0.006 128.5);
Tailwind
colors: {
  custom: {
    50: '#fafbf9',
    500: '#f8faf6',
    950: '#000000',
  },
}
SCSS
$custom: #f8faf6;
$custom-light: #fafbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8faf6",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 246
  },
  "hsl": {
    "h": 90,
    "s": 28.571,
    "l": 97.255
  },
  "oklch": {
    "l": 0.98248,
    "c": 0.00566,
    "h": 128.5
  },
  "luminance": 0.94981
}

Semantic roles & 50–950 ramp

primary
#F8FAF6
secondary
#CAC0D5
accent
#3EA773
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8FAF6

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

Preview Lab → · Contrast checker → · Palette generator →

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