#FBFA78#FBFA78

#FBFA78 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.1% C 0.152 H 108.5°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FBFA78
RGBrgb(251, 250, 120)
HSLhsl(60, 94%, 73%)
HSVhsv(60, 52%, 98%)
CMYKcmyk(0%, 0.4%, 52.2%, 1.6%)
CIE-LABlab(96.10, -16.33, 61.54)
CIE-LCHlch(96.10, 63.67, 104.86°)
OKLaboklab(96.07% -0.0483 0.144)
OKLCHoklch(96.07% 0.152 108.5)
XYZxyz(77.3614, 90.2385, 31.1082)
Luminance0.9024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFA78 #7879FB
analogous
#FBB878 #FBFA78 #BAFB78
triadic
#FBFA78 #78FBFA #FA78FB
tetradic
#FBFA78 #78FBB8 #7879FB #FB78BA
square
#FBFA78 #78FBB8 #7879FB #FB78BA
split-complementary
#FBFA78 #78BAFB #B878FB
monochromatic
#F1F007 #F9F83D #FBFA78 #FDFCB3 #FEFEE1

Accessibility & contrast

On white

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

On black

19.05
#FBFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFA78
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFA78#FFFFFF#000000##000000
##FBFA781.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16B
Deuteranopia (green-blind)
#FFF67F
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbfa78;
/* rgb */ color: rgb(251, 250, 120);
/* oklch */ color: oklch(96.1% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffba2',
    500: '#fbfa78',
    950: '#000000',
  },
}
SCSS
$custom: #fbfa78;
$custom-light: #fffba2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfa78",
  "rgb": {
    "r": 251,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 59.542,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.96068,
    "c": 0.15187,
    "h": 108.5
  },
  "luminance": 0.90237
}

Semantic roles & 50–950 ramp

primary
#FBFA78
secondary
#3F41D8
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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