#FBFF52#FBFF52

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

Color values

HEX#FBFF52
RGBrgb(251, 255, 82)
HSLhsl(61, 100%, 66%)
HSVhsv(61, 68%, 100%)
CMYKcmyk(1.6%, 0%, 67.8%, 0%)
CIE-LABlab(97.08, -21.17, 77.96)
CIE-LCHlch(97.08, 80.78, 105.19°)
OKLaboklab(96.76% -0.0658 0.1739)
OKLCHoklch(96.76% 0.186 110.7)
XYZxyz(77.0692, 92.6405, 21.8026)
Luminance0.9264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFF52 #5652FF
analogous
#FFAC52 #FBFF52 #A4FF52
triadic
#FBFF52 #52FBFF #FF52FB
tetradic
#FBFF52 #52FFAC #5652FF #FF52A4
square
#FBFF52 #52FFAC #5652FF #FF52A4
split-complementary
#FBFF52 #52A4FF #AC52FF
monochromatic
#D2D700 #FAFF15 #FBFF52 #FCFF8F #FEFFCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBFF52#FFFFFF#000000##000000
##FBFF521.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)
#FFF436
Deuteranopia (green-blind)
#FFF95F
Tritanopia (blue-blind)
#FFF0DD
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fbff52;
/* rgb */ color: rgb(251, 255, 82);
/* oklch */ color: oklch(96.8% 0.186 110.7);
Tailwind
colors: {
  custom: {
    50: '#ffff8c',
    500: '#fbff52',
    950: '#000000',
  },
}
SCSS
$custom: #fbff52;
$custom-light: #ffff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbff52",
  "rgb": {
    "r": 251,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 61.387,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96756,
    "c": 0.18588,
    "h": 110.7
  },
  "luminance": 0.92638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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