#FAFBF2#FAFBF2

#FAFBF2 is a very light, near-neutral yellow. Relative luminance 0.957; OKLCH L 98.5% C 0.012 H 111.7°. Best body text is #000000 at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#FAFBF2
RGBrgb(250, 251, 242)
HSLhsl(67, 53%, 97%)
HSVhsv(67, 4%, 98%)
CMYKcmyk(0.4%, 0%, 3.6%, 1.6%)
CIE-LABlab(98.32, -1.89, 4.19)
CIE-LCHlch(98.32, 4.60, 114.25°)
OKLaboklab(98.49% -0.0044 0.011)
OKLCHoklch(98.49% 0.012 111.7)
XYZxyz(89.9461, 95.7293, 97.7263)
Luminance0.9573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFBF2 #F3F2FB
analogous
#FBF8F2 #FAFBF2 #F6FBF2
triadic
#FAFBF2 #F2FAFB #FBF2FA
tetradic
#FAFBF2 #F2FBF8 #F3F2FB #FBF2F6
square
#FAFBF2 #F2FBF8 #F3F2FB #FBF2F6
split-complementary
#FAFBF2 #F2F6FB #F8F2FB
monochromatic
#D6DE94 #E8EDC3 #F6F8E8 #F6F8E8 #F6F8E8

Accessibility & contrast

On white

1.04
#FAFBF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.15
#FAFBF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFBF2
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFBF2#FFFFFF#000000##000000
##FAFBF21.001.0420.1520.15
#FFFFFF1.041.0021.0021.00
#00000020.1521.001.001.00
##00000020.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDFAF2
Deuteranopia (green-blind)
#FDFAF2
Tritanopia (blue-blind)
#FBFAF8
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fafbf2;
/* rgb */ color: rgb(250, 251, 242);
/* oklch */ color: oklch(98.5% 0.012 111.7);
Tailwind
colors: {
  custom: {
    50: '#fcfcf6',
    500: '#fafbf2',
    950: '#000000',
  },
}
SCSS
$custom: #fafbf2;
$custom-light: #fcfcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fafbf2",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 242
  },
  "hsl": {
    "h": 66.667,
    "s": 52.941,
    "l": 96.667
  },
  "oklch": {
    "l": 0.98487,
    "c": 0.01188,
    "h": 111.7
  },
  "luminance": 0.95729
}

Semantic roles & 50–950 ramp

primary
#FAFBF2
secondary
#B9B4DD
accent
#25C036
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FAFBF2

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

Preview Lab → · Contrast checker → · Palette generator →

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