#FBFC97#FBFC97

#FBFC97 is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.9% C 0.124 H 109.0°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FBFC97
RGBrgb(251, 252, 151)
HSLhsl(61, 94%, 79%)
HSVhsv(61, 40%, 99%)
CMYKcmyk(0.4%, 0%, 40.1%, 1.2%)
CIE-LABlab(96.97, -14.50, 48.18)
CIE-LCHlch(96.97, 50.31, 106.75°)
OKLaboklab(96.88% -0.0402 0.1169)
OKLCHoklch(96.88% 0.124 109)
XYZxyz(80.1812, 92.3660, 42.8768)
Luminance0.9236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFC97 #9897FC
analogous
#FCCB97 #FBFC97 #C9FC97
triadic
#FBFC97 #97FBFC #FC97FB
tetradic
#FBFC97 #97FCCB #9897FC #FC97C9
square
#FBFC97 #97FCCB #9897FC #FC97C9
split-complementary
#FBFC97 #97C9FC #CB97FC
monochromatic
#F6F920 #F9FA5C #FBFC97 #FDFED2 #FEFEE1

Accessibility & contrast

On white

1.08
#FBFC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#FBFC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFC97
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFC97#FFFFFF#000000##000000
##FBFC971.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF89C
Tritanopia (blue-blind)
#FFF1E3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fbfc97;
/* rgb */ color: rgb(251, 252, 151);
/* oklch */ color: oklch(96.9% 0.124 109.0);
Tailwind
colors: {
  custom: {
    50: '#fefdb7',
    500: '#fbfc97',
    950: '#000000',
  },
}
SCSS
$custom: #fbfc97;
$custom-light: #fefdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfc97",
  "rgb": {
    "r": 251,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 60.594,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96881,
    "c": 0.12358,
    "h": 109
  },
  "luminance": 0.92364
}

Semantic roles & 50–950 ramp

primary
#FBFC97
secondary
#5B5ADD
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFC97

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

Preview Lab → · Contrast checker → · Palette generator →

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