#F8FAEB#F8FAEB

#F8FAEB is a very light, near-neutral yellow. Relative luminance 0.943; OKLCH L 98.0% C 0.020 H 112.9°. Best body text is #000000 at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#F8FAEB
RGBrgb(248, 250, 235)
HSLhsl(68, 60%, 95%)
HSVhsv(68, 6%, 98%)
CMYKcmyk(0.8%, 0%, 6%, 2%)
CIE-LABlab(97.76, -3.24, 6.96)
CIE-LCHlch(97.76, 7.67, 114.95°)
OKLaboklab(97.95% -0.0077 0.0182)
OKLCHoklch(97.95% 0.02 112.9)
XYZxyz(87.8902, 94.3260, 92.1577)
Luminance0.9433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAEB #EDEBFA
analogous
#FAF4EB #F8FAEB #F0FAEB
triadic
#F8FAEB #EBF8FA #FAEBF8
tetradic
#F8FAEB #EBFAF4 #EDEBFA #FAEBF0
square
#F8FAEB #EBFAF4 #EDEBFA #FAEBF0
split-complementary
#F8FAEB #EBF0FA #F4EBFA
monochromatic
#D6E289 #E7EEBA #F6F9E7 #F6F9E7 #F6F9E7

Accessibility & contrast

On white

1.06
#F8FAEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.87
#F8FAEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAEB
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAEB#FFFFFF#000000##000000
##F8FAEB1.001.0619.8719.87
#FFFFFF1.061.0021.0021.00
#00000019.8721.001.001.00
##00000019.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF8EA
Deuteranopia (green-blind)
#FDF9EC
Tritanopia (blue-blind)
#FAF8F6
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f8faeb;
/* rgb */ color: rgb(248, 250, 235);
/* oklch */ color: oklch(98.0% 0.020 112.9);
Tailwind
colors: {
  custom: {
    50: '#fafbf1',
    500: '#f8faeb',
    950: '#000000',
  },
}
SCSS
$custom: #f8faeb;
$custom-light: #fafbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8faeb",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 235
  },
  "hsl": {
    "h": 68,
    "s": 60,
    "l": 95.098
  },
  "oklch": {
    "l": 0.97954,
    "c": 0.0198,
    "h": 112.9
  },
  "luminance": 0.94326
}

Semantic roles & 50–950 ramp

primary
#F8FAEB
secondary
#B3ACDD
accent
#1EC834
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F8FAEB

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

Preview Lab → · Contrast checker → · Palette generator →

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