#FBFB8D#FBFB8D

#FBFB8D is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.5% C 0.133 H 108.6°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#FBFB8D
RGBrgb(251, 251, 141)
HSLhsl(60, 93%, 77%)
HSVhsv(60, 44%, 98%)
CMYKcmyk(0%, 0%, 43.8%, 1.6%)
CIE-LABlab(96.59, -15.00, 52.47)
CIE-LCHlch(96.59, 54.57, 105.95°)
OKLaboklab(96.53% -0.0425 0.1259)
OKLCHoklch(96.53% 0.133 108.6)
XYZxyz(79.0900, 91.4284, 38.6753)
Luminance0.9143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB8D #8D8DFB
analogous
#FBC48D #FBFB8D #C4FB8D
triadic
#FBFB8D #8DFBFB #FB8DFB
tetradic
#FBFB8D #8DFBC4 #8D8DFB #FB8DC4
square
#FBFB8D #8DFBC4 #8D8DFB #FB8DC4
split-complementary
#FBFB8D #8DC4FB #C48DFB
monochromatic
#F7F717 #F9F952 #FBFB8D #FDFDC8 #FEFEE1

Accessibility & contrast

On white

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

On black

19.29
#FBFB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB8D
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB8D#FFFFFF#000000##000000
##FBFB8D1.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF384
Deuteranopia (green-blind)
#FFF792
Tritanopia (blue-blind)
#FFEFE1
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfb8d;
/* rgb */ color: rgb(251, 251, 141);
/* oklch */ color: oklch(96.5% 0.133 108.6);
Tailwind
colors: {
  custom: {
    50: '#fefcb0',
    500: '#fbfb8d',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb8d;
$custom-light: #fefcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb8d",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96534,
    "c": 0.13285,
    "h": 108.6
  },
  "luminance": 0.91427
}

Semantic roles & 50–950 ramp

primary
#FBFB8D
secondary
#5252DB
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBFB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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