#FBFF54#FBFF54

#FBFF54 is a very light, vivid yellow. Relative luminance 0.927; OKLCH L 96.8% C 0.185 H 110.7°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#FBFF54
RGBrgb(251, 255, 84)
HSLhsl(61, 100%, 66%)
HSVhsv(61, 67%, 100%)
CMYKcmyk(1.6%, 0%, 67.1%, 0%)
CIE-LABlab(97.09, -21.07, 77.26)
CIE-LCHlch(97.09, 80.08, 105.25°)
OKLaboklab(96.77% -0.0653 0.1727)
OKLCHoklch(96.77% 0.185 110.7)
XYZxyz(77.1464, 92.6714, 22.2093)
Luminance0.9267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFF54 #5854FF
analogous
#FFAE54 #FBFF54 #A5FF54
triadic
#FBFF54 #54FBFF #FF54FB
tetradic
#FBFF54 #54FFAE #5854FF #FF54A5
square
#FBFF54 #54FFAE #5854FF #FF54A5
split-complementary
#FBFF54 #54A5FF #AE54FF
monochromatic
#D4D900 #FAFF17 #FBFF54 #FCFF91 #FEFFCE

Accessibility & contrast

On white

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

On black

19.53
#FBFF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFF54
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFF54#FFFFFF#000000##000000
##FBFF541.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbff54;
/* rgb */ color: rgb(251, 255, 84);
/* oklch */ color: oklch(96.8% 0.185 110.7);
Tailwind
colors: {
  custom: {
    50: '#ffff8d',
    500: '#fbff54',
    950: '#000000',
  },
}
SCSS
$custom: #fbff54;
$custom-light: #ffff8d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbff54",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 84
  },
  "hsl": {
    "h": 61.404,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.9677,
    "c": 0.18463,
    "h": 110.7
  },
  "luminance": 0.92669
}

Semantic roles & 50–950 ramp

primary
#FBFF54
secondary
#2925D2
accent
#00E605
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FBFF54

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

Preview Lab → · Contrast checker → · Palette generator →

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