#FBFA97#FBFA97

#FBFA97 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.5% C 0.121 H 108.0°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#FBFA97
RGBrgb(251, 250, 151)
HSLhsl(59, 93%, 79%)
HSVhsv(59, 40%, 98%)
CMYKcmyk(0%, 0.4%, 39.8%, 1.6%)
CIE-LABlab(96.46, -13.52, 47.54)
CIE-LCHlch(96.46, 49.42, 105.88°)
OKLaboklab(96.47% -0.0374 0.1154)
OKLCHoklch(96.47% 0.121 108)
XYZxyz(79.5564, 91.1165, 42.6685)
Luminance0.9112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA97 #9798FB
analogous
#FBC897 #FBFA97 #CAFB97
triadic
#FBFA97 #97FBFA #FA97FB
tetradic
#FBFA97 #97FBC8 #9798FB #FB97CA
square
#FBFA97 #97FBC8 #9798FB #FB97CA
split-complementary
#FBFA97 #97CAFB #C897FB
monochromatic
#F6F421 #F9F75C #FBFA97 #FDFDD2 #FEFEE2

Accessibility & contrast

On white

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

On black

19.22
#FBFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA97
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA97#FFFFFF#000000##000000
##FBFA971.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbfa97;
/* rgb */ color: rgb(251, 250, 151);
/* oklch */ color: oklch(96.5% 0.121 108.0);
Tailwind
colors: {
  custom: {
    50: '#fefbb7',
    500: '#fbfa97',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa97;
$custom-light: #fefbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa97",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 59.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.96474,
    "c": 0.12132,
    "h": 108
  },
  "luminance": 0.91115
}

Semantic roles & 50–950 ramp

primary
#FBFA97
secondary
#5A5CDC
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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