#FBFBF2#FBFBF2

#FBFBF2 is a very light, near-neutral yellow. Relative luminance 0.959; OKLCH L 98.6% C 0.012 H 106.6°. Best body text is #000000 at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#FBFBF2
RGBrgb(251, 251, 242)
HSLhsl(60, 53%, 97%)
HSVhsv(60, 4%, 98%)
CMYKcmyk(0%, 0%, 3.6%, 1.6%)
CIE-LABlab(98.40, -1.55, 4.31)
CIE-LCHlch(98.40, 4.58, 109.83°)
OKLaboklab(98.56% -0.0034 0.0113)
OKLCHoklch(98.56% 0.012 106.6)
XYZxyz(90.3054, 95.9146, 97.7431)
Luminance0.9591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFBF2 #F2F2FB
analogous
#FBF7F2 #FBFBF2 #F7FBF2
triadic
#FBFBF2 #F2FBFB #FBF2FB
tetradic
#FBFBF2 #F2FBF7 #F2F2FB #FBF2F7
square
#FBFBF2 #F2FBF7 #F2F2FB #FBF2F7
split-complementary
#FBFBF2 #F2F7FB #F7F2FB
monochromatic
#DEDE94 #EDEDC3 #F8F8E8 #F8F8E8 #F8F8E8

Accessibility & contrast

On white

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

On black

20.18
#FBFBF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFBF2
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFBF2#FFFFFF#000000##000000
##FBFBF21.001.0420.1820.18
#FFFFFF1.041.0021.0021.00
#00000020.1821.001.001.00
##00000020.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbfbf2;
/* rgb */ color: rgb(251, 251, 242);
/* oklch */ color: oklch(98.6% 0.012 106.6);
Tailwind
colors: {
  custom: {
    50: '#fcfcf6',
    500: '#fbfbf2',
    950: '#000000',
  },
}
SCSS
$custom: #fbfbf2;
$custom-light: #fcfcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfbf2",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 242
  },
  "hsl": {
    "h": 60,
    "s": 52.941,
    "l": 96.667
  },
  "oklch": {
    "l": 0.98563,
    "c": 0.01183,
    "h": 106.6
  },
  "luminance": 0.95914
}

Semantic roles & 50–950 ramp

primary
#FBFBF2
secondary
#B4B4DD
accent
#25C025
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FBFBF2

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

Preview Lab → · Contrast checker → · Palette generator →

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