#F8FAEC#F8FAEC

#F8FAEC is a very light, near-neutral yellow. Relative luminance 0.944; OKLCH L 98.0% C 0.018 H 113.3°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#F8FAEC
RGBrgb(248, 250, 236)
HSLhsl(69, 58%, 95%)
HSVhsv(69, 6%, 98%)
CMYKcmyk(0.8%, 0%, 5.6%, 2%)
CIE-LABlab(97.79, -3.07, 6.48)
CIE-LCHlch(97.79, 7.17, 115.36°)
OKLaboklab(97.98% -0.0073 0.017)
OKLCHoklch(97.98% 0.019 113.3)
XYZxyz(88.0351, 94.3840, 92.9207)
Luminance0.9438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAEC #EEECFA
analogous
#FAF5EC #F8FAEC #F1FAEC
triadic
#F8FAEC #ECF8FA #FAECF8
tetradic
#F8FAEC #ECFAF5 #EEECFA #FAECF1
square
#F8FAEC #ECFAF5 #EEECFA #FAECF1
split-complementary
#F8FAEC #ECF1FA #F5ECFA
monochromatic
#D4E08B #E6EDBC #F6F9E7 #F6F9E7 #F6F9E7

Accessibility & contrast

On white

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

On black

19.88
#F8FAEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAEC
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAEC#FFFFFF#000000##000000
##F8FAEC1.001.0619.8819.88
#FFFFFF1.061.0021.0021.00
#00000019.8821.001.001.00
##00000019.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8faec;
/* rgb */ color: rgb(248, 250, 236);
/* oklch */ color: oklch(98.0% 0.018 113.3);
Tailwind
colors: {
  custom: {
    50: '#fafbf2',
    500: '#f8faec',
    950: '#000000',
  },
}
SCSS
$custom: #f8faec;
$custom-light: #fafbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8faec",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 236
  },
  "hsl": {
    "h": 68.571,
    "s": 58.333,
    "l": 95.294
  },
  "oklch": {
    "l": 0.9798,
    "c": 0.0185,
    "h": 113.3
  },
  "luminance": 0.94384
}

Semantic roles & 50–950 ramp

primary
#F8FAEC
secondary
#B4ADDD
accent
#20C637
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F8FAEC

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

Preview Lab → · Contrast checker → · Palette generator →

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