#FAF8EB#FAF8EB

#FAF8EB is a very light, near-neutral yellow. Relative luminance 0.935; OKLCH L 97.7% C 0.017 H 99.6°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#FAF8EB
RGBrgb(250, 248, 235)
HSLhsl(52, 60%, 95%)
HSVhsv(52, 6%, 98%)
CMYKcmyk(0%, 0.8%, 6%, 2%)
CIE-LABlab(97.41, -1.55, 6.47)
CIE-LCHlch(97.41, 6.66, 103.48°)
OKLaboklab(97.72% -0.0029 0.017)
OKLCHoklch(97.72% 0.017 99.6)
XYZxyz(87.9851, 93.4574, 91.9851)
Luminance0.9346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF8EB #EBEDFA
analogous
#FAF0EB #FAF8EB #F4FAEB
triadic
#FAF8EB #EBFAF8 #F8EBFA
tetradic
#FAF8EB #EBFAF0 #EBEDFA #FAEBF4
square
#FAF8EB #EBFAF0 #EBEDFA #FAEBF4
split-complementary
#FAF8EB #EBF4FA #F0EBFA
monochromatic
#E2D689 #EEE7BA #F9F6E7 #F9F6E7 #F9F6E7

Accessibility & contrast

On white

1.07
#FAF8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.69
#FAF8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF8EB
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF8EB#FFFFFF#000000##000000
##FAF8EB1.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7EA
Deuteranopia (green-blind)
#FCF8EB
Tritanopia (blue-blind)
#FDF6F4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faf8eb;
/* rgb */ color: rgb(250, 248, 235);
/* oklch */ color: oklch(97.7% 0.017 99.6);
Tailwind
colors: {
  custom: {
    50: '#fcfaf1',
    500: '#faf8eb',
    950: '#000000',
  },
}
SCSS
$custom: #faf8eb;
$custom-light: #fcfaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf8eb",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 235
  },
  "hsl": {
    "h": 52,
    "s": 60,
    "l": 95.098
  },
  "oklch": {
    "l": 0.97715,
    "c": 0.01724,
    "h": 99.6
  },
  "luminance": 0.93457
}

Semantic roles & 50–950 ramp

primary
#FAF8EB
secondary
#ACB3DD
accent
#34C81E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FAF8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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