#FBFA98#FBFA98

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

Color values

HEX#FBFA98
RGBrgb(251, 250, 152)
HSLhsl(59, 93%, 79%)
HSVhsv(59, 39%, 98%)
CMYKcmyk(0%, 0.4%, 39.4%, 1.6%)
CIE-LABlab(96.47, -13.42, 47.07)
CIE-LCHlch(96.47, 48.95, 105.91°)
OKLaboklab(96.49% -0.037 0.1144)
OKLCHoklch(96.49% 0.12 107.9)
XYZxyz(79.6380, 91.1491, 43.0980)
Luminance0.9115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA98 #9899FB
analogous
#FBC998 #FBFA98 #CBFB98
triadic
#FBFA98 #98FBFA #FA98FB
tetradic
#FBFA98 #98FBC9 #9899FB #FB98CB
square
#FBFA98 #98FBC9 #9899FB #FB98CB
split-complementary
#FBFA98 #98CBFB #C998FB
monochromatic
#F6F422 #F9F75D #FBFA98 #FDFDD3 #FEFEE2

Accessibility & contrast

On white

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

On black

19.23
#FBFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA98
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA98#FFFFFF#000000##000000
##FBFA981.001.0919.2319.23
#FFFFFF1.091.0021.0021.00
#00000019.2321.001.001.00
##00000019.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbfa98;
/* rgb */ color: rgb(251, 250, 152);
/* oklch */ color: oklch(96.5% 0.120 107.9);
Tailwind
colors: {
  custom: {
    50: '#fefbb7',
    500: '#fbfa98',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa98;
$custom-light: #fefbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa98",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 59.394,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96489,
    "c": 0.12024,
    "h": 107.9
  },
  "luminance": 0.91147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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