#FBFB7B#FBFB7B

#FBFB7B is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.3% C 0.150 H 108.9°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FBFB7B
RGBrgb(251, 251, 123)
HSLhsl(60, 94%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0%, 51%, 1.6%)
CIE-LABlab(96.38, -16.58, 60.54)
CIE-LCHlch(96.38, 62.76, 105.32°)
OKLaboklab(96.31% -0.0487 0.1421)
OKLCHoklch(96.31% 0.15 108.9)
XYZxyz(77.8579, 90.9356, 32.1860)
Luminance0.9093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB7B #7B7BFB
analogous
#FBBB7B #FBFB7B #BBFB7B
triadic
#FBFB7B #7BFBFB #FB7BFB
tetradic
#FBFB7B #7BFBBB #7B7BFB #FB7BBB
square
#FBFB7B #7BFBBB #7B7BFB #FB7BBB
split-complementary
#FBFB7B #7BBBFB #BB7BFB
monochromatic
#F4F407 #F9F940 #FBFB7B #FDFDB6 #FEFEE1

Accessibility & contrast

On white

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

On black

19.19
#FBFB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB7B
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB7B#FFFFFF#000000##000000
##FBFB7B1.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26F
Deuteranopia (green-blind)
#FFF782
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfb7b;
/* rgb */ color: rgb(251, 251, 123);
/* oklch */ color: oklch(96.3% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffca4',
    500: '#fbfb7b',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb7b;
$custom-light: #fffca4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb7b",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96307,
    "c": 0.1502,
    "h": 108.9
  },
  "luminance": 0.90934
}

Semantic roles & 50–950 ramp

primary
#FBFB7B
secondary
#4242D8
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBFB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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