#FAF8EF#FAF8EF

#FAF8EF is a very light, near-neutral yellow. Relative luminance 0.937; OKLCH L 97.8% C 0.012 H 96.4°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#FAF8EF
RGBrgb(250, 248, 239)
HSLhsl(49, 52%, 96%)
HSVhsv(49, 4%, 98%)
CMYKcmyk(0%, 0.8%, 4.4%, 2%)
CIE-LABlab(97.51, -0.88, 4.55)
CIE-LCHlch(97.51, 4.63, 100.98°)
OKLaboklab(97.82% -0.0013 0.012)
OKLCHoklch(97.82% 0.012 96.4)
XYZxyz(88.5695, 93.6911, 95.0628)
Luminance0.9369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF8EF #EFF1FA
analogous
#FAF2EF #FAF8EF #F6FAEF
triadic
#FAF8EF #EFFAF8 #F8EFFA
tetradic
#FAF8EF #EFFAF2 #EFF1FA #FAEFF6
square
#FAF8EF #EFFAF2 #EFF1FA #FAEFF6
split-complementary
#FAF8EF #EFF6FA #F2EFFA
monochromatic
#DDCF92 #EBE4C0 #F8F5E8 #F8F5E8 #F8F5E8

Accessibility & contrast

On white

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

On black

19.74
#FAF8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF8EF
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF8EF#FFFFFF#000000##000000
##FAF8EF1.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF7EF
Deuteranopia (green-blind)
#FBF8EF
Tritanopia (blue-blind)
#FCF7F5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faf8ef;
/* rgb */ color: rgb(250, 248, 239);
/* oklch */ color: oklch(97.8% 0.012 96.4);
Tailwind
colors: {
  custom: {
    50: '#fcfaf4',
    500: '#faf8ef',
    950: '#000000',
  },
}
SCSS
$custom: #faf8ef;
$custom-light: #fcfaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#faf8ef",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 239
  },
  "hsl": {
    "h": 49.091,
    "s": 52.381,
    "l": 95.882
  },
  "oklch": {
    "l": 0.9782,
    "c": 0.01206,
    "h": 96.4
  },
  "luminance": 0.93691
}

Semantic roles & 50–950 ramp

primary
#FAF8EF
secondary
#B2B9DB
accent
#42C026
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FAF8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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