#FBFB7A#FBFB7A

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

Color values

HEX#FBFB7A
RGBrgb(251, 251, 122)
HSLhsl(60, 94%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0%, 51.4%, 1.6%)
CIE-LABlab(96.37, -16.66, 60.97)
CIE-LCHlch(96.37, 63.21, 105.28°)
OKLaboklab(96.3% -0.049 0.1429)
OKLCHoklch(96.3% 0.151 108.9)
XYZxyz(77.7956, 90.9107, 31.8580)
Luminance0.9091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB7A #7A7AFB
analogous
#FBBA7A #FBFB7A #BAFB7A
triadic
#FBFB7A #7AFBFB #FB7AFB
tetradic
#FBFB7A #7AFBBA #7A7AFB #FB7ABA
square
#FBFB7A #7AFBBA #7A7AFB #FB7ABA
split-complementary
#FBFB7A #7ABAFB #BA7AFB
monochromatic
#F3F307 #F9F93F #FBFB7A #FDFDB5 #FEFEE1

Accessibility & contrast

On white

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

On black

19.18
#FBFB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB7A
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB7A#FFFFFF#000000##000000
##FBFB7A1.001.0919.1819.18
#FFFFFF1.091.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbfb7a;
/* rgb */ color: rgb(251, 251, 122);
/* oklch */ color: oklch(96.3% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffca4',
    500: '#fbfb7a',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb7a;
$custom-light: #fffca4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb7a",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96296,
    "c": 0.15112,
    "h": 108.9
  },
  "luminance": 0.90909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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