#FBFB87#FBFB87

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

Color values

HEX#FBFB87
RGBrgb(251, 251, 135)
HSLhsl(60, 94%, 76%)
HSVhsv(60, 46%, 98%)
CMYKcmyk(0%, 0%, 46.2%, 1.6%)
CIE-LABlab(96.51, -15.55, 55.20)
CIE-LCHlch(96.51, 57.35, 105.73°)
OKLaboklab(96.45% -0.0446 0.1315)
OKLCHoklch(96.45% 0.139 108.7)
XYZxyz(78.6556, 91.2547, 36.3875)
Luminance0.9125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFB87 #8787FB
analogous
#FBC187 #FBFB87 #C1FB87
triadic
#FBFB87 #87FBFB #FB87FB
tetradic
#FBFB87 #87FBC1 #8787FB #FB87C1
square
#FBFB87 #87FBC1 #8787FB #FB87C1
split-complementary
#FBFB87 #87C1FB #C187FB
monochromatic
#F7F711 #F9F94C #FBFB87 #FDFDC2 #FEFEE1

Accessibility & contrast

On white

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

On black

19.25
#FBFB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFB87
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFB87#FFFFFF#000000##000000
##FBFB871.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF37D
Deuteranopia (green-blind)
#FFF78D
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfb87;
/* rgb */ color: rgb(251, 251, 135);
/* oklch */ color: oklch(96.5% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffcac',
    500: '#fbfb87',
    950: '#000000',
  },
}
SCSS
$custom: #fbfb87;
$custom-light: #fffcac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfb87",
  "rgb": {
    "r": 251,
    "g": 251,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.96454,
    "c": 0.13883,
    "h": 108.7
  },
  "luminance": 0.91253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFB87

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

Preview Lab → · Contrast checker → · Palette generator →

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