#FAF8EA#FAF8EA

#FAF8EA is a very light, near-neutral yellow. Relative luminance 0.934; OKLCH L 97.7% C 0.019 H 100.1°. Best body text is #000000 at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#FAF8EA
RGBrgb(250, 248, 234)
HSLhsl(53, 62%, 95%)
HSVhsv(53, 6%, 98%)
CMYKcmyk(0%, 0.8%, 6.4%, 2%)
CIE-LABlab(97.39, -1.72, 6.95)
CIE-LCHlch(97.39, 7.16, 103.87°)
OKLaboklab(97.69% -0.0033 0.0183)
OKLCHoklch(97.69% 0.019 100.1)
XYZxyz(87.8410, 93.3997, 91.2263)
Luminance0.9340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF8EA #EAECFA
analogous
#FAF0EA #FAF8EA #F4FAEA
triadic
#FAF8EA #EAFAF8 #F8EAFA
tetradic
#FAF8EA #EAFAF0 #EAECFA #FAEAF4
square
#FAF8EA #EAFAF0 #EAECFA #FAEAF4
split-complementary
#FAF8EA #EAF4FA #F0EAFA
monochromatic
#E2D787 #EEE8B9 #F9F7E6 #F9F7E6 #F9F7E6

Accessibility & contrast

On white

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

On black

19.68
#FAF8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF8EA
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF8EA#FFFFFF#000000##000000
##FAF8EA1.001.0719.6819.68
#FFFFFF1.071.0021.0021.00
#00000019.6821.001.001.00
##00000019.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF7E9
Deuteranopia (green-blind)
#FCF8EA
Tritanopia (blue-blind)
#FDF6F4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #faf8ea;
/* rgb */ color: rgb(250, 248, 234);
/* oklch */ color: oklch(97.7% 0.019 100.1);
Tailwind
colors: {
  custom: {
    50: '#fcfaf0',
    500: '#faf8ea',
    950: '#000000',
  },
}
SCSS
$custom: #faf8ea;
$custom-light: #fcfaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#faf8ea",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 234
  },
  "hsl": {
    "h": 52.5,
    "s": 61.538,
    "l": 94.902
  },
  "oklch": {
    "l": 0.97689,
    "c": 0.01854,
    "h": 100.1
  },
  "luminance": 0.93399
}

Semantic roles & 50–950 ramp

primary
#FAF8EA
secondary
#ABB1DD
accent
#32C91C
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #FAF8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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