#FBFE98#FBFE98

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

Color values

HEX#FBFE98
RGBrgb(251, 254, 152)
HSLhsl(62, 98%, 80%)
HSVhsv(62, 40%, 100%)
CMYKcmyk(1.2%, 0%, 40.2%, 0.4%)
CIE-LABlab(97.50, -15.37, 48.36)
CIE-LCHlch(97.50, 50.74, 107.63°)
OKLaboklab(97.3% -0.0426 0.1173)
OKLCHoklch(97.3% 0.125 110)
XYZxyz(80.8941, 93.6614, 43.5167)
Luminance0.9366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFE98 #9B98FE
analogous
#FECE98 #FBFE98 #C8FE98
triadic
#FBFE98 #98FBFE #FE98FB
tetradic
#FBFE98 #98FECE #9B98FE #FE98C8
square
#FBFE98 #98FECE #9B98FE #FE98C8
split-complementary
#FBFE98 #98C8FE #CE98FE
monochromatic
#F6FD1F #F9FD5B #FBFE98 #FDFFD5 #FEFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBFE98#FFFFFF#000000##000000
##FBFE981.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)
#FFF690
Deuteranopia (green-blind)
#FFF99D
Tritanopia (blue-blind)
#FFF3E5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fbfe98;
/* rgb */ color: rgb(251, 254, 152);
/* oklch */ color: oklch(97.3% 0.125 110.0);
Tailwind
colors: {
  custom: {
    50: '#fefeb8',
    500: '#fbfe98',
    950: '#000000',
  },
}
SCSS
$custom: #fbfe98;
$custom-light: #fefeb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfe98",
  "rgb": {
    "r": 251,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 61.765,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.97303,
    "c": 0.12482,
    "h": 110
  },
  "luminance": 0.9366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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