#FBFB95#FBFB95

#FBFB95 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.6% C 0.125 H 108.5°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#FBFB95
RGBrgb(251, 251, 149)
HSLhsl(60, 93%, 78%)
HSVhsv(60, 41%, 98%)
CMYKcmyk(0%, 0%, 40.6%, 1.6%)
CIE-LABlab(96.69, -14.21, 48.79)
CIE-LCHlch(96.69, 50.82, 106.24°)
OKLaboklab(96.65% -0.0396 0.1181)
OKLCHoklch(96.65% 0.125 108.5)
XYZxyz(79.7069, 91.6752, 41.9242)
Luminance0.9167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB95 #9595FB
analogous
#FBC895 #FBFB95 #C8FB95
triadic
#FBFB95 #95FBFB #FB95FB
tetradic
#FBFB95 #95FBC8 #9595FB #FB95C8
square
#FBFB95 #95FBC8 #9595FB #FB95C8
split-complementary
#FBFB95 #95C8FB #C895FB
monochromatic
#F7F71F #F9F95A #FBFB95 #FDFDD0 #FEFEE2

Accessibility & contrast

On white

1.09
#FBFB95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.33
#FBFB95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB95
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB95#FFFFFF#000000##000000
##FBFB951.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38D
Deuteranopia (green-blind)
#FFF79A
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfb95;
/* rgb */ color: rgb(251, 251, 149);
/* oklch */ color: oklch(96.6% 0.125 108.5);
Tailwind
colors: {
  custom: {
    50: '#fefcb5',
    500: '#fbfb95',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb95;
$custom-light: #fefcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb95",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 149
  },
  "hsl": {
    "h": 60,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.96647,
    "c": 0.12456,
    "h": 108.5
  },
  "luminance": 0.91674
}

Semantic roles & 50–950 ramp

primary
#FBFB95
secondary
#5959DC
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFB95

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

Preview Lab → · Contrast checker → · Palette generator →

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