#FBFB98#FBFB98

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

Color values

HEX#FBFB98
RGBrgb(251, 251, 152)
HSLhsl(60, 93%, 79%)
HSVhsv(60, 39%, 98%)
CMYKcmyk(0%, 0%, 39.4%, 1.6%)
CIE-LABlab(96.73, -13.91, 47.39)
CIE-LCHlch(96.73, 49.39, 106.35°)
OKLaboklab(96.69% -0.0384 0.1151)
OKLCHoklch(96.69% 0.121 108.5)
XYZxyz(79.9495, 91.7722, 43.2019)
Luminance0.9177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB98 #9898FB
analogous
#FBCA98 #FBFB98 #CAFB98
triadic
#FBFB98 #98FBFB #FB98FB
tetradic
#FBFB98 #98FBCA #9898FB #FB98CA
square
#FBFB98 #98FBCA #9898FB #FB98CA
split-complementary
#FBFB98 #98CAFB #CA98FB
monochromatic
#F6F622 #F9F95D #FBFB98 #FDFDD3 #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBFB98#FFFFFF#000000##000000
##FBFB981.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)
#FFF390
Deuteranopia (green-blind)
#FFF79C
Tritanopia (blue-blind)
#FFF0E3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbfb98;
/* rgb */ color: rgb(251, 251, 152);
/* oklch */ color: oklch(96.7% 0.121 108.5);
Tailwind
colors: {
  custom: {
    50: '#fefcb8',
    500: '#fbfb98',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb98;
$custom-light: #fefcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb98",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96692,
    "c": 0.12137,
    "h": 108.5
  },
  "luminance": 0.91771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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