#FBFC98#FBFC98

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

Color values

HEX#FBFC98
RGBrgb(251, 252, 152)
HSLhsl(61, 94%, 79%)
HSVhsv(61, 40%, 99%)
CMYKcmyk(0.4%, 0%, 39.7%, 1.2%)
CIE-LABlab(96.98, -14.39, 47.72)
CIE-LCHlch(96.98, 49.84, 106.79°)
OKLaboklab(96.9% -0.0398 0.1159)
OKLCHoklch(96.9% 0.123 109)
XYZxyz(80.2627, 92.3986, 43.3063)
Luminance0.9240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFC98 #9998FC
analogous
#FCCB98 #FBFC98 #C9FC98
triadic
#FBFC98 #98FBFC #FC98FB
tetradic
#FBFC98 #98FCCB #9998FC #FC98C9
square
#FBFC98 #98FCCB #9998FC #FC98C9
split-complementary
#FBFC98 #98C9FC #CB98FC
monochromatic
#F6F921 #F9FA5D #FBFC98 #FDFED3 #FEFEE1

Accessibility & contrast

On white

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

On black

19.48
#FBFC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFC98
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFC98#FFFFFF#000000##000000
##FBFC981.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbfc98;
/* rgb */ color: rgb(251, 252, 152);
/* oklch */ color: oklch(96.9% 0.123 109.0);
Tailwind
colors: {
  custom: {
    50: '#fefdb8',
    500: '#fbfc98',
    950: '#000000',
  },
}
SCSS
$custom: #fbfc98;
$custom-light: #fefdb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfc98",
  "rgb": {
    "r": 251,
    "g": 252,
    "b": 152
  },
  "hsl": {
    "h": 60.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.96895,
    "c": 0.12252,
    "h": 109
  },
  "luminance": 0.92397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFC98

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

Preview Lab → · Contrast checker → · Palette generator →

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