#FBF96B#FBF96B

#FBF96B is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.162 H 108.3°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#FBF96B
RGBrgb(251, 249, 107)
HSLhsl(59, 95%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 0.8%, 57.4%, 1.6%)
CIE-LABlab(95.72, -16.81, 66.76)
CIE-LCHlch(95.72, 68.85, 104.13°)
OKLaboklab(95.73% -0.051 0.1537)
OKLCHoklch(95.73% 0.162 108.3)
XYZxyz(76.3154, 89.3243, 27.1283)
Luminance0.8932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF96B #6B6DFB
analogous
#FBB16B #FBF96B #B5FB6B
triadic
#FBF96B #6BFBF9 #F96BFB
tetradic
#FBF96B #6BFBB1 #6B6DFB #FB6BB5
square
#FBF96B #6BFBB1 #6B6DFB #FB6BB5
split-complementary
#FBF96B #6BB5FB #B16BFB
monochromatic
#E5E206 #F9F72F #FBF96B #FDFBA7 #FEFEE1

Accessibility & contrast

On white

1.11
#FBF96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#FBF96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF96B
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF96B#FFFFFF#000000##000000
##FBF96B1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05B
Deuteranopia (green-blind)
#FFF573
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf96b;
/* rgb */ color: rgb(251, 249, 107);
/* oklch */ color: oklch(95.7% 0.162 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffb9a',
    500: '#fbf96b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf96b;
$custom-light: #fffb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf96b",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 59.167,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95726,
    "c": 0.16197,
    "h": 108.3
  },
  "luminance": 0.89322
}

Semantic roles & 50–950 ramp

primary
#FBF96B
secondary
#3437D6
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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