#FBFF98#FBFF98

#FBFF98 is a very light, vivid yellow. Relative luminance 0.943; OKLCH L 97.5% C 0.126 H 110.5°. Best body text is #000000 at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#FBFF98
RGBrgb(251, 255, 152)
HSLhsl(62, 100%, 80%)
HSVhsv(62, 40%, 100%)
CMYKcmyk(1.6%, 0%, 40.4%, 0%)
CIE-LABlab(97.75, -15.85, 48.68)
CIE-LCHlch(97.75, 51.20, 108.04°)
OKLaboklab(97.51% -0.044 0.118)
OKLCHoklch(97.51% 0.126 110.5)
XYZxyz(81.2122, 94.2977, 43.6228)
Luminance0.9430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFF98 #9C98FF
analogous
#FFD098 #FBFF98 #C8FF98
triadic
#FBFF98 #98FBFF #FF98FB
tetradic
#FBFF98 #98FFD0 #9C98FF #FF98C8
square
#FBFF98 #98FFD0 #9C98FF #FF98C8
split-complementary
#FBFF98 #98C8FF #D098FF
monochromatic
#F6FF1E #F9FF5B #FBFF98 #FDFFD5 #FEFFE0

Accessibility & contrast

On white

1.06
#FBFF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.86
#FBFF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFF98
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFF98#FFFFFF#000000##000000
##FBFF981.001.0619.8619.86
#FFFFFF1.061.0021.0021.00
#00000019.8621.001.001.00
##00000019.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF790
Deuteranopia (green-blind)
#FFFA9D
Tritanopia (blue-blind)
#FFF4E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fbff98;
/* rgb */ color: rgb(251, 255, 152);
/* oklch */ color: oklch(97.5% 0.126 110.5);
Tailwind
colors: {
  custom: {
    50: '#feffb8',
    500: '#fbff98',
    950: '#000000',
  },
}
SCSS
$custom: #fbff98;
$custom-light: #feffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbff98",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 62.33,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97507,
    "c": 0.12598,
    "h": 110.5
  },
  "luminance": 0.94296
}

Semantic roles & 50–950 ramp

primary
#FBFF98
secondary
#5F59E2
accent
#00E609
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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