#FBF778#FBF778

#FBF778 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.5% C 0.149 H 107.3°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FBF778
RGBrgb(251, 247, 120)
HSLhsl(58, 94%, 73%)
HSVhsv(58, 52%, 98%)
CMYKcmyk(0%, 1.6%, 52.2%, 1.6%)
CIE-LABlab(95.32, -14.88, 60.65)
CIE-LCHlch(95.32, 62.45, 103.78°)
OKLaboklab(95.45% -0.0441 0.1421)
OKLCHoklch(95.45% 0.149 107.3)
XYZxyz(76.4366, 88.3889, 30.8000)
Luminance0.8839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF778 #787CFB
analogous
#FBB578 #FBF778 #BDFB78
triadic
#FBF778 #78FBF7 #F778FB
tetradic
#FBF778 #78FBB5 #787CFB #FB78BD
square
#FBF778 #78FBB5 #787CFB #FB78BD
split-complementary
#FBF778 #78BDFB #B578FB
monochromatic
#F1EA07 #F9F33D #FBF778 #FDFBB3 #FEFDE1

Accessibility & contrast

On white

1.12
#FBF778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#FBF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF778
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF778#FFFFFF#000000##000000
##FBF7781.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6C
Deuteranopia (green-blind)
#FFF47F
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf778;
/* rgb */ color: rgb(251, 247, 120);
/* oklch */ color: oklch(95.5% 0.149 107.3);
Tailwind
colors: {
  custom: {
    50: '#fff9a2',
    500: '#fbf778',
    950: '#000000',
  },
}
SCSS
$custom: #fbf778;
$custom-light: #fff9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf778",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 58.168,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95454,
    "c": 0.14875,
    "h": 107.3
  },
  "luminance": 0.88387
}

Semantic roles & 50–950 ramp

primary
#FBF778
secondary
#3F44D8
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF778

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

Preview Lab → · Contrast checker → · Palette generator →

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