#FBFB97#FBFB97

#FBFB97 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.7% C 0.122 H 108.5°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#FBFB97
RGBrgb(251, 251, 151)
HSLhsl(60, 93%, 79%)
HSVhsv(60, 40%, 98%)
CMYKcmyk(0%, 0%, 39.8%, 1.6%)
CIE-LABlab(96.71, -14.01, 47.86)
CIE-LCHlch(96.71, 49.87, 106.32°)
OKLaboklab(96.68% -0.0388 0.1161)
OKLCHoklch(96.68% 0.122 108.5)
XYZxyz(79.8680, 91.7396, 42.7724)
Luminance0.9174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB97 #9797FB
analogous
#FBC997 #FBFB97 #C9FB97
triadic
#FBFB97 #97FBFB #FB97FB
tetradic
#FBFB97 #97FBC9 #9797FB #FB97C9
square
#FBFB97 #97FBC9 #9797FB #FB97C9
split-complementary
#FBFB97 #97C9FB #C997FB
monochromatic
#F6F621 #F9F95C #FBFB97 #FDFDD2 #FEFEE2

Accessibility & contrast

On white

1.09
#FBFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.35
#FBFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB97
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB97#FFFFFF#000000##000000
##FBFB971.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF79B
Tritanopia (blue-blind)
#FFF0E3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbfb97;
/* rgb */ color: rgb(251, 251, 151);
/* oklch */ color: oklch(96.7% 0.122 108.5);
Tailwind
colors: {
  custom: {
    50: '#fefcb7',
    500: '#fbfb97',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb97;
$custom-light: #fefcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb97",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.96677,
    "c": 0.12245,
    "h": 108.5
  },
  "luminance": 0.91738
}

Semantic roles & 50–950 ramp

primary
#FBFB97
secondary
#5A5ADC
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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