#FBFC78#FBFC78

#FBFC78 is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.5% C 0.154 H 109.4°. Best body text is #000000 at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#FBFC78
RGBrgb(251, 252, 120)
HSLhsl(60, 96%, 73%)
HSVhsv(60, 52%, 99%)
CMYKcmyk(0.4%, 0%, 52.4%, 1.2%)
CIE-LABlab(96.61, -17.30, 62.14)
CIE-LCHlch(96.61, 64.50, 105.56°)
OKLaboklab(96.48% -0.051 0.1453)
OKLCHoklch(96.48% 0.154 109.4)
XYZxyz(77.9862, 91.4880, 31.3165)
Luminance0.9149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBFC78 #7978FC
analogous
#FCBB78 #FBFC78 #B9FC78
triadic
#FBFC78 #78FBFC #FC78FB
tetradic
#FBFC78 #78FCBB #7978FC #FC78B9
square
#FBFC78 #78FCBB #7978FC #FC78B9
split-complementary
#FBFC78 #78B9FC #BB78FC
monochromatic
#F2F405 #F9FB3C #FBFC78 #FDFDB4 #FEFEE1

Accessibility & contrast

On white

1.09
#FBFC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.30
#FBFC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBFC78
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBFC78#FFFFFF#000000##000000
##FBFC781.001.0919.3019.30
#FFFFFF1.091.0021.0021.00
#00000019.3021.001.001.00
##00000019.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36B
Deuteranopia (green-blind)
#FFF77F
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fbfc78;
/* rgb */ color: rgb(251, 252, 120);
/* oklch */ color: oklch(96.5% 0.154 109.4);
Tailwind
colors: {
  custom: {
    50: '#fffda3',
    500: '#fbfc78',
    950: '#000000',
  },
}
SCSS
$custom: #fbfc78;
$custom-light: #fffda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbfc78",
  "rgb": {
    "r": 251,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 60.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.96478,
    "c": 0.15397,
    "h": 109.4
  },
  "luminance": 0.91486
}

Semantic roles & 50–950 ramp

primary
#FBFC78
secondary
#403FD9
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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