#FBF96F#FBF96F

#FBF96F is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.159 H 108.3°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#FBF96F
RGBrgb(251, 249, 111)
HSLhsl(59, 95%, 71%)
HSVhsv(59, 56%, 98%)
CMYKcmyk(0%, 0.8%, 55.8%, 1.6%)
CIE-LABlab(95.75, -16.53, 65.10)
CIE-LCHlch(95.75, 67.16, 104.25°)
OKLaboklab(95.77% -0.0498 0.1507)
OKLCHoklch(95.77% 0.159 108.3)
XYZxyz(76.5308, 89.4104, 28.2624)
Luminance0.8941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF96F #6F71FB
analogous
#FBB36F #FBF96F #B7FB6F
triadic
#FBF96F #6FFBF9 #F96FFB
tetradic
#FBF96F #6FFBB3 #6F71FB #FB6FB7
square
#FBF96F #6FFBB3 #6F71FB #FB6FB7
split-complementary
#FBF96F #6FB7FB #B36FFB
monochromatic
#E9E606 #F9F733 #FBF96F #FDFBAB #FEFEE1

Accessibility & contrast

On white

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

On black

18.88
#FBF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF96F
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF96F#FFFFFF#000000##000000
##FBF96F1.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf96f;
/* rgb */ color: rgb(251, 249, 111);
/* oklch */ color: oklch(95.8% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fbf96f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf96f;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf96f",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 59.143,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95766,
    "c": 0.15866,
    "h": 108.3
  },
  "luminance": 0.89408
}

Semantic roles & 50–950 ramp

primary
#FBF96F
secondary
#383AD6
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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