#FBFAF2#FBFAF2

#FBFAF2 is a very light, near-neutral yellow. Relative luminance 0.953; OKLCH L 98.4% C 0.011 H 100.8°. Best body text is #000000 at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#FBFAF2
RGBrgb(251, 250, 242)
HSLhsl(53, 53%, 97%)
HSVhsv(53, 4%, 98%)
CMYKcmyk(0%, 0.4%, 3.6%, 1.6%)
CIE-LABlab(98.15, -1.05, 3.95)
CIE-LCHlch(98.15, 4.08, 104.88°)
OKLaboklab(98.37% -0.002 0.0104)
OKLCHoklch(98.37% 0.011 100.8)
XYZxyz(89.9939, 95.2915, 97.6393)
Luminance0.9529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFAF2 #F2F3FB
analogous
#FBF6F2 #FBFAF2 #F8FBF2
triadic
#FBFAF2 #F2FBFA #FAF2FB
tetradic
#FBFAF2 #F2FBF6 #F2F3FB #FBF2F8
square
#FBFAF2 #F2FBF6 #F2F3FB #FBF2F8
split-complementary
#FBFAF2 #F2F8FB #F6F2FB
monochromatic
#DED694 #EDE8C3 #F8F6E8 #F8F6E8 #F8F6E8

Accessibility & contrast

On white

1.05
#FBFAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.06
#FBFAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFAF2
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFAF2#FFFFFF#000000##000000
##FBFAF21.001.0520.0620.06
#FFFFFF1.051.0021.0021.00
#00000020.0621.001.001.00
##00000020.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF9F2
Deuteranopia (green-blind)
#FCFAF2
Tritanopia (blue-blind)
#FDF9F8
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fbfaf2;
/* rgb */ color: rgb(251, 250, 242);
/* oklch */ color: oklch(98.4% 0.011 100.8);
Tailwind
colors: {
  custom: {
    50: '#fcfbf6',
    500: '#fbfaf2',
    950: '#000000',
  },
}
SCSS
$custom: #fbfaf2;
$custom-light: #fcfbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfaf2",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 242
  },
  "hsl": {
    "h": 53.333,
    "s": 52.941,
    "l": 96.667
  },
  "oklch": {
    "l": 0.98368,
    "c": 0.01059,
    "h": 100.8
  },
  "luminance": 0.95291
}

Semantic roles & 50–950 ramp

primary
#FBFAF2
secondary
#B4B9DD
accent
#36C025
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FBFAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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