#FBFF97#FBFF97

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

Color values

HEX#FBFF97
RGBrgb(251, 255, 151)
HSLhsl(62, 100%, 80%)
HSVhsv(62, 41%, 100%)
CMYKcmyk(1.6%, 0%, 40.8%, 0%)
CIE-LABlab(97.74, -15.95, 49.15)
CIE-LCHlch(97.74, 51.67, 107.98°)
OKLaboklab(97.49% -0.0444 0.119)
OKLCHoklch(97.49% 0.127 110.5)
XYZxyz(81.1307, 94.2651, 43.1933)
Luminance0.9426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFF97 #9B97FF
analogous
#FFCF97 #FBFF97 #C7FF97
triadic
#FBFF97 #97FBFF #FF97FB
tetradic
#FBFF97 #97FFCF #9B97FF #FF97C7
square
#FBFF97 #97FFCF #9B97FF #FF97C7
split-complementary
#FBFF97 #97C7FF #CF97FF
monochromatic
#F6FF1D #F9FF5A #FBFF97 #FDFFD4 #FEFFE0

Accessibility & contrast

On white

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

On black

19.85
#FBFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFF97
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFF97#FFFFFF#000000##000000
##FBFF971.001.0619.8519.85
#FFFFFF1.061.0021.0021.00
#00000019.8521.001.001.00
##00000019.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbff97;
/* rgb */ color: rgb(251, 255, 151);
/* oklch */ color: oklch(97.5% 0.127 110.5);
Tailwind
colors: {
  custom: {
    50: '#feffb7',
    500: '#fbff97',
    950: '#000000',
  },
}
SCSS
$custom: #fbff97;
$custom-light: #feffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbff97",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 62.308,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.97492,
    "c": 0.12704,
    "h": 110.5
  },
  "luminance": 0.94264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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