#FBF96C#FBF96C

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

Color values

HEX#FBF96C
RGBrgb(251, 249, 108)
HSLhsl(59, 95%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 0.8%, 57%, 1.6%)
CIE-LABlab(95.72, -16.74, 66.35)
CIE-LCHlch(95.72, 68.43, 104.16°)
OKLaboklab(95.74% -0.0507 0.153)
OKLCHoklch(95.74% 0.161 108.3)
XYZxyz(76.3684, 89.3454, 27.4070)
Luminance0.8934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF96C #6C6EFB
analogous
#FBB16C #FBF96C #B5FB6C
triadic
#FBF96C #6CFBF9 #F96CFB
tetradic
#FBF96C #6CFBB1 #6C6EFB #FB6CB5
square
#FBF96C #6CFBB1 #6C6EFB #FB6CB5
split-complementary
#FBF96C #6CB5FB #B16CFB
monochromatic
#E6E306 #F9F730 #FBF96C #FDFBA8 #FEFEE1

Accessibility & contrast

On white

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

On black

18.87
#FBF96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF96C
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF96C#FFFFFF#000000##000000
##FBF96C1.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05D
Deuteranopia (green-blind)
#FFF574
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf96c;
/* rgb */ color: rgb(251, 249, 108);
/* oklch */ color: oklch(95.7% 0.161 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffb9b',
    500: '#fbf96c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf96c;
$custom-light: #fffb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf96c",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 59.161,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95736,
    "c": 0.16115,
    "h": 108.3
  },
  "luminance": 0.89343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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