#FBF96D#FBF96D

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

Color values

HEX#FBF96D
RGBrgb(251, 249, 109)
HSLhsl(59, 95%, 71%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 0.8%, 56.6%, 1.6%)
CIE-LABlab(95.73, -16.67, 65.93)
CIE-LCHlch(95.73, 68.01, 104.19°)
OKLaboklab(95.75% -0.0504 0.1522)
OKLCHoklch(95.75% 0.16 108.3)
XYZxyz(76.4219, 89.3668, 27.6889)
Luminance0.8937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF96D #6D6FFB
analogous
#FBB26D #FBF96D #B6FB6D
triadic
#FBF96D #6DFBF9 #F96DFB
tetradic
#FBF96D #6DFBB2 #6D6FFB #FB6DB6
square
#FBF96D #6DFBB2 #6D6FFB #FB6DB6
split-complementary
#FBF96D #6DB6FB #B26DFB
monochromatic
#E7E406 #F9F731 #FBF96D #FDFBA9 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF96D#FFFFFF#000000##000000
##FBF96D1.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)
#FFF05E
Deuteranopia (green-blind)
#FFF575
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf96d;
/* rgb */ color: rgb(251, 249, 109);
/* oklch */ color: oklch(95.7% 0.160 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffb9b',
    500: '#fbf96d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf96d;
$custom-light: #fffb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf96d",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 59.155,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95746,
    "c": 0.16032,
    "h": 108.3
  },
  "luminance": 0.89365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF96D

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

Preview Lab → · Contrast checker → · Palette generator →

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