#FBFE97#FBFE97

#FBFE97 is a very light, vivid yellow. Relative luminance 0.936; OKLCH L 97.3% C 0.126 H 110.0°. Best body text is #000000 at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#FBFE97
RGBrgb(251, 254, 151)
HSLhsl(62, 98%, 79%)
HSVhsv(62, 41%, 100%)
CMYKcmyk(1.2%, 0%, 40.6%, 0.4%)
CIE-LABlab(97.48, -15.47, 48.83)
CIE-LCHlch(97.48, 51.22, 107.58°)
OKLaboklab(97.29% -0.043 0.1183)
OKLCHoklch(97.29% 0.126 110)
XYZxyz(80.8125, 93.6287, 43.0872)
Luminance0.9363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFE97 #9A97FE
analogous
#FECE97 #FBFE97 #C7FE97
triadic
#FBFE97 #97FBFE #FE97FB
tetradic
#FBFE97 #97FECE #9A97FE #FE97C7
square
#FBFE97 #97FECE #9A97FE #FE97C7
split-complementary
#FBFE97 #97C7FE #CE97FE
monochromatic
#F6FD1E #F9FD5A #FBFE97 #FDFFD4 #FEFFE1

Accessibility & contrast

On white

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

On black

19.73
#FBFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFE97
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFE97#FFFFFF#000000##000000
##FBFE971.001.0619.7319.73
#FFFFFF1.061.0021.0021.00
#00000019.7321.001.001.00
##00000019.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF68F
Deuteranopia (green-blind)
#FFF99C
Tritanopia (blue-blind)
#FFF3E5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fbfe97;
/* rgb */ color: rgb(251, 254, 151);
/* oklch */ color: oklch(97.3% 0.126 110.0);
Tailwind
colors: {
  custom: {
    50: '#fefeb7',
    500: '#fbfe97',
    950: '#000000',
  },
}
SCSS
$custom: #fbfe97;
$custom-light: #fefeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfe97",
  "rgb": {
    "r": 251,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 61.748,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.97288,
    "c": 0.12588,
    "h": 110
  },
  "luminance": 0.93627
}

Semantic roles & 50–950 ramp

primary
#FBFE97
secondary
#5D59E0
accent
#00E607
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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