#FBFF87#FBFF87

#FBFF87 is a very light, vivid yellow. Relative luminance 0.938; OKLCH L 97.3% C 0.143 H 110.5°. Best body text is #000000 at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#FBFF87
RGBrgb(251, 255, 135)
HSLhsl(62, 100%, 76%)
HSVhsv(62, 47%, 100%)
CMYKcmyk(1.6%, 0%, 47.1%, 0%)
CIE-LABlab(97.54, -17.49, 56.44)
CIE-LCHlch(97.54, 59.09, 107.21°)
OKLaboklab(97.27% -0.0501 0.1342)
OKLCHoklch(97.27% 0.143 110.5)
XYZxyz(79.9184, 93.7801, 36.8084)
Luminance0.9378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFF87 #8B87FF
analogous
#FFC787 #FBFF87 #BFFF87
triadic
#FBFF87 #87FBFF #FF87FB
tetradic
#FBFF87 #87FFC7 #8B87FF #FF87BF
square
#FBFF87 #87FFC7 #8B87FF #FF87BF
split-complementary
#FBFF87 #87BFFF #C787FF
monochromatic
#F7FF0D #F9FF4A #FBFF87 #FDFFC4 #FEFFE0

Accessibility & contrast

On white

1.06
#FBFF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.76
#FBFF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFF87
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFF87#FFFFFF#000000##000000
##FBFF871.001.0619.7619.76
#FFFFFF1.061.0021.0021.00
#00000019.7621.001.001.00
##00000019.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF67C
Deuteranopia (green-blind)
#FFFA8D
Tritanopia (blue-blind)
#FFF2E3
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fbff87;
/* rgb */ color: rgb(251, 255, 135);
/* oklch */ color: oklch(97.3% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#ffffac',
    500: '#fbff87',
    950: '#000000',
  },
}
SCSS
$custom: #fbff87;
$custom-light: #ffffac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbff87",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 135
  },
  "hsl": {
    "h": 62,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.97273,
    "c": 0.14326,
    "h": 110.5
  },
  "luminance": 0.93778
}

Semantic roles & 50–950 ramp

primary
#FBFF87
secondary
#504BDF
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBFF87

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

Preview Lab → · Contrast checker → · Palette generator →

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