#FBF776#FBF776

#FBF776 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.151 H 107.3°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FBF776
RGBrgb(251, 247, 118)
HSLhsl(58, 94%, 72%)
HSVhsv(58, 53%, 98%)
CMYKcmyk(0%, 1.6%, 53%, 1.6%)
CIE-LABlab(95.30, -15.03, 61.52)
CIE-LCHlch(95.30, 63.33, 103.73°)
OKLaboklab(95.43% -0.0448 0.1437)
OKLCHoklch(95.43% 0.151 107.3)
XYZxyz(76.3165, 88.3409, 30.1674)
Luminance0.8834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF776 #767AFB
analogous
#FBB476 #FBF776 #BDFB76
triadic
#FBF776 #76FBF7 #F776FB
tetradic
#FBF776 #76FBB4 #767AFB #FB76BD
square
#FBF776 #76FBB4 #767AFB #FB76BD
split-complementary
#FBF776 #76BDFB #B476FB
monochromatic
#F0E907 #F9F43B #FBF776 #FDFAB1 #FEFDE1

Accessibility & contrast

On white

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

On black

18.67
#FBF776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF776
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF776#FFFFFF#000000##000000
##FBF7761.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF69
Deuteranopia (green-blind)
#FFF47D
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf776;
/* rgb */ color: rgb(251, 247, 118);
/* oklch */ color: oklch(95.4% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#fff9a1',
    500: '#fbf776',
    950: '#000000',
  },
}
SCSS
$custom: #fbf776;
$custom-light: #fff9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf776",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 58.195,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95431,
    "c": 0.15055,
    "h": 107.3
  },
  "luminance": 0.88339
}

Semantic roles & 50–950 ramp

primary
#FBF776
secondary
#3E42D7
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF776

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

Preview Lab → · Contrast checker → · Palette generator →

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