#FBFD97#FBFD97

#FBFD97 is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.1% C 0.125 H 109.5°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FBFD97
RGBrgb(251, 253, 151)
HSLhsl(61, 96%, 79%)
HSVhsv(61, 40%, 99%)
CMYKcmyk(0.8%, 0%, 40.3%, 0.8%)
CIE-LABlab(97.23, -14.98, 48.50)
CIE-LCHlch(97.23, 50.76, 107.17°)
OKLaboklab(97.08% -0.0416 0.1176)
OKLCHoklch(97.08% 0.125 109.5)
XYZxyz(80.4960, 92.9957, 42.9817)
Luminance0.9299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFD97 #9997FD
analogous
#FDCC97 #FBFD97 #C8FD97
triadic
#FBFD97 #97FBFD #FD97FB
tetradic
#FBFD97 #97FDCC #9997FD #FD97C8
square
#FBFD97 #97FDCC #9997FD #FD97C8
split-complementary
#FBFD97 #97C8FD #CC97FD
monochromatic
#F6FB1F #F9FC5B #FBFD97 #FDFED3 #FEFEE1

Accessibility & contrast

On white

1.07
#FBFD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.60
#FBFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFD97
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFD97#FFFFFF#000000##000000
##FBFD971.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58F
Deuteranopia (green-blind)
#FFF99C
Tritanopia (blue-blind)
#FFF2E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbfd97;
/* rgb */ color: rgb(251, 253, 151);
/* oklch */ color: oklch(97.1% 0.125 109.5);
Tailwind
colors: {
  custom: {
    50: '#fefeb7',
    500: '#fbfd97',
    950: '#000000',
  },
}
SCSS
$custom: #fbfd97;
$custom-light: #fefeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfd97",
  "rgb": {
    "r": 251,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 61.176,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.97084,
    "c": 0.12473,
    "h": 109.5
  },
  "luminance": 0.92994
}

Semantic roles & 50–950 ramp

primary
#FBFD97
secondary
#5C59DF
accent
#00E604
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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