#FBF788#FBF788

#FBF788 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.7% C 0.134 H 106.8°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FBF788
RGBrgb(251, 247, 136)
HSLhsl(58, 93%, 76%)
HSVhsv(58, 46%, 98%)
CMYKcmyk(0%, 1.6%, 45.8%, 1.6%)
CIE-LABlab(95.50, -13.51, 53.50)
CIE-LCHlch(95.50, 55.18, 104.17°)
OKLaboklab(95.65% -0.0387 0.1278)
OKLCHoklch(95.65% 0.134 106.8)
XYZxyz(77.4900, 88.8103, 36.3479)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF788 #888CFB
analogous
#FBBD88 #FBF788 #C5FB88
triadic
#FBF788 #88FBF7 #F788FB
tetradic
#FBF788 #88FBBD #888CFB #FB88C5
square
#FBF788 #88FBBD #888CFB #FB88C5
split-complementary
#FBF788 #88C5FB #BD88FB
monochromatic
#F7EF12 #F9F34D #FBF788 #FDFBC3 #FEFDE1

Accessibility & contrast

On white

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

On black

18.76
#FBF788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF788
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF788#FFFFFF#000000##000000
##FBF7881.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7F
Deuteranopia (green-blind)
#FFF48D
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf788;
/* rgb */ color: rgb(251, 247, 136);
/* oklch */ color: oklch(95.7% 0.134 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef9ad',
    500: '#fbf788',
    950: '#000000',
  },
}
SCSS
$custom: #fbf788;
$custom-light: #fef9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf788",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 136
  },
  "hsl": {
    "h": 57.913,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95651,
    "c": 0.13353,
    "h": 106.8
  },
  "luminance": 0.88808
}

Semantic roles & 50–950 ramp

primary
#FBF788
secondary
#4D52DA
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF788

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

Preview Lab → · Contrast checker → · Palette generator →

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