#FBFA81#FBFA81

#FBFA81 is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.144 H 108.4°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#FBFA81
RGBrgb(251, 250, 129)
HSLhsl(60, 94%, 75%)
HSVhsv(60, 49%, 98%)
CMYKcmyk(0%, 0.4%, 48.6%, 1.6%)
CIE-LABlab(96.19, -15.59, 57.58)
CIE-LCHlch(96.19, 59.66, 105.15°)
OKLaboklab(96.17% -0.0453 0.1362)
OKLCHoklch(96.17% 0.144 108.4)
XYZxyz(77.9335, 90.4673, 34.1212)
Luminance0.9046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA81 #8182FB
analogous
#FBBD81 #FBFA81 #BFFB81
triadic
#FBFA81 #81FBFA #FA81FB
tetradic
#FBFA81 #81FBBD #8182FB #FB81BF
square
#FBFA81 #81FBBD #8182FB #FB81BF
split-complementary
#FBFA81 #81BFFB #BD81FB
monochromatic
#F7F50A #F9F846 #FBFA81 #FDFCBC #FEFEE1

Accessibility & contrast

On white

1.10
#FBFA81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.09
#FBFA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA81
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA81#FFFFFF#000000##000000
##FBFA811.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF276
Deuteranopia (green-blind)
#FFF687
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa81;
/* rgb */ color: rgb(251, 250, 129);
/* oklch */ color: oklch(96.2% 0.144 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffba8',
    500: '#fbfa81',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa81;
$custom-light: #fffba8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa81",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 129
  },
  "hsl": {
    "h": 59.508,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96174,
    "c": 0.14355,
    "h": 108.4
  },
  "luminance": 0.90465
}

Semantic roles & 50–950 ramp

primary
#FBFA81
secondary
#4748D9
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBFA81

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

Preview Lab → · Contrast checker → · Palette generator →

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