#F8FAF4#F8FAF4

#F8FAF4 is a very light, near-neutral yellow-green. Relative luminance 0.949; OKLCH L 98.2% C 0.008 H 121.6°. Best body text is #000000 at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#F8FAF4
RGBrgb(248, 250, 244)
HSLhsl(80, 38%, 97%)
HSVhsv(80, 2%, 98%)
CMYKcmyk(0.8%, 0%, 2.4%, 2%)
CIE-LABlab(97.98, -1.71, 2.64)
CIE-LCHlch(97.98, 3.14, 122.92°)
OKLaboklab(98.19% -0.0043 0.007)
OKLCHoklch(98.19% 0.008 121.6)
XYZxyz(89.2235, 94.8593, 99.1796)
Luminance0.9486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAF4 #F6F4FA
analogous
#FAF9F4 #F8FAF4 #F5FAF4
triadic
#F8FAF4 #F4F8FA #FAF4F8
tetradic
#F8FAF4 #F4FAF9 #F6F4FA #FAF4F5
square
#F8FAF4 #F4FAF9 #F6F4FA #FAF4F5
split-complementary
#F8FAF4 #F4F5FA #F9F4FA
monochromatic
#C2D4A0 #DDE7CA #F2F5EA #F2F5EA #F2F5EA

Accessibility & contrast

On white

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

On black

19.97
#F8FAF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAF4
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAF4#FFFFFF#000000##000000
##F8FAF41.001.0519.9719.97
#FFFFFF1.051.0021.0021.00
#00000019.9721.001.001.00
##00000019.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF9F4
Deuteranopia (green-blind)
#FBF9F4
Tritanopia (blue-blind)
#F9F9F8
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f8faf4;
/* rgb */ color: rgb(248, 250, 244);
/* oklch */ color: oklch(98.2% 0.008 121.6);
Tailwind
colors: {
  custom: {
    50: '#fafbf7',
    500: '#f8faf4',
    950: '#000000',
  },
}
SCSS
$custom: #f8faf4;
$custom-light: #fafbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8faf4",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 244
  },
  "hsl": {
    "h": 80,
    "s": 37.5,
    "l": 96.863
  },
  "oklch": {
    "l": 0.98193,
    "c": 0.00816,
    "h": 121.6
  },
  "luminance": 0.94859
}

Semantic roles & 50–950 ramp

primary
#F8FAF4
secondary
#C4BBD7
accent
#35B05E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F8FAF4

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

Preview Lab → · Contrast checker → · Palette generator →

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