#FBFF51#FBFF51

#FBFF51 is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.7% C 0.186 H 110.7°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FBFF51
RGBrgb(251, 255, 81)
HSLhsl(61, 100%, 66%)
HSVhsv(61, 68%, 100%)
CMYKcmyk(1.6%, 0%, 68.2%, 0%)
CIE-LABlab(97.08, -21.22, 78.31)
CIE-LCHlch(97.08, 81.13, 105.16°)
OKLaboklab(96.75% -0.066 0.1744)
OKLCHoklch(96.75% 0.186 110.7)
XYZxyz(77.0314, 92.6254, 21.6037)
Luminance0.9262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFF51 #5551FF
analogous
#FFAC51 #FBFF51 #A4FF51
triadic
#FBFF51 #51FBFF #FF51FB
tetradic
#FBFF51 #51FFAC #5551FF #FF51A4
square
#FBFF51 #51FFAC #5551FF #FF51A4
split-complementary
#FBFF51 #51A4FF #AC51FF
monochromatic
#D1D600 #FAFF14 #FBFF51 #FCFF8E #FEFFCB

Accessibility & contrast

On white

1.08
#FBFF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.52
#FBFF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFF51
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFF51#FFFFFF#000000##000000
##FBFF511.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF434
Deuteranopia (green-blind)
#FFF95E
Tritanopia (blue-blind)
#FFF0DD
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbff51;
/* rgb */ color: rgb(251, 255, 81);
/* oklch */ color: oklch(96.7% 0.186 110.7);
Tailwind
colors: {
  custom: {
    50: '#ffff8c',
    500: '#fbff51',
    950: '#000000',
  },
}
SCSS
$custom: #fbff51;
$custom-light: #ffff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbff51",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 61.379,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.96749,
    "c": 0.18649,
    "h": 110.7
  },
  "luminance": 0.92623
}

Semantic roles & 50–950 ramp

primary
#FBFF51
secondary
#2925D0
accent
#00E605
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FBFF51

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

Preview Lab → · Contrast checker → · Palette generator →

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