#FBFB8A#FBFB8A

#FBFB8A is a very light, vivid yellow. Relative luminance 0.913; OKLCH L 96.5% C 0.136 H 108.7°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#FBFB8A
RGBrgb(251, 251, 138)
HSLhsl(60, 93%, 76%)
HSVhsv(60, 45%, 98%)
CMYKcmyk(0%, 0%, 45%, 1.6%)
CIE-LABlab(96.55, -15.28, 53.84)
CIE-LCHlch(96.55, 55.97, 105.84°)
OKLaboklab(96.49% -0.0435 0.1287)
OKLCHoklch(96.49% 0.136 108.7)
XYZxyz(78.8698, 91.3404, 37.5156)
Luminance0.9134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB8A #8A8AFB
analogous
#FBC38A #FBFB8A #C3FB8A
triadic
#FBFB8A #8AFBFB #FB8AFB
tetradic
#FBFB8A #8AFBC3 #8A8AFB #FB8AC3
square
#FBFB8A #8AFBC3 #8A8AFB #FB8AC3
split-complementary
#FBFB8A #8AC3FB #C38AFB
monochromatic
#F7F714 #F9F94F #FBFB8A #FDFDC5 #FEFEE1

Accessibility & contrast

On white

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

On black

19.27
#FBFB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB8A
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB8A#FFFFFF#000000##000000
##FBFB8A1.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF78F
Tritanopia (blue-blind)
#FFEFE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfb8a;
/* rgb */ color: rgb(251, 251, 138);
/* oklch */ color: oklch(96.5% 0.136 108.7);
Tailwind
colors: {
  custom: {
    50: '#fefcae',
    500: '#fbfb8a',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb8a;
$custom-light: #fefcae;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb8a",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96494,
    "c": 0.13586,
    "h": 108.7
  },
  "luminance": 0.91339
}

Semantic roles & 50–950 ramp

primary
#FBFB8A
secondary
#4F4FDA
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBFB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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