#FBFA96#FBFA96

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

Color values

HEX#FBFA96
RGBrgb(251, 250, 150)
HSLhsl(59, 93%, 79%)
HSVhsv(59, 40%, 98%)
CMYKcmyk(0%, 0.4%, 40.2%, 1.6%)
CIE-LABlab(96.44, -13.62, 48.00)
CIE-LCHlch(96.44, 49.90, 105.85°)
OKLaboklab(96.46% -0.0378 0.1164)
OKLCHoklch(96.46% 0.122 108)
XYZxyz(79.4755, 91.0842, 42.2426)
Luminance0.9108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA96 #9697FB
analogous
#FBC796 #FBFA96 #C9FB96
triadic
#FBFA96 #96FBFA #FA96FB
tetradic
#FBFA96 #96FBC7 #9697FB #FB96C9
square
#FBFA96 #96FBC7 #9697FB #FB96C9
split-complementary
#FBFA96 #96C9FB #C796FB
monochromatic
#F7F420 #F9F75B #FBFA96 #FDFDD1 #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBFA96#FFFFFF#000000##000000
##FBFA961.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)
#FFF38E
Deuteranopia (green-blind)
#FFF79A
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfa96;
/* rgb */ color: rgb(251, 250, 150);
/* oklch */ color: oklch(96.5% 0.122 108.0);
Tailwind
colors: {
  custom: {
    50: '#fefbb6',
    500: '#fbfa96',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa96;
$custom-light: #fefbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa96",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 59.406,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96459,
    "c": 0.12238,
    "h": 108
  },
  "luminance": 0.91082
}

Semantic roles & 50–950 ramp

primary
#FBFA96
secondary
#595BDC
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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