#FFFB96#FFFB96

#FFFB96 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 97.0% C 0.123 H 106.5°. Best body text is #000000 at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#FFFB96
RGBrgb(255, 251, 150)
HSLhsl(58, 100%, 79%)
HSVhsv(58, 41%, 100%)
CMYKcmyk(0%, 1.6%, 41.2%, 0%)
CIE-LABlab(97.01, -12.58, 48.77)
CIE-LCHlch(97.01, 50.37, 104.46°)
OKLaboklab(96.98% -0.035 0.1181)
OKLCHoklch(96.98% 0.123 106.5)
XYZxyz(81.2436, 92.4583, 42.4147)
Luminance0.9246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB96 #969AFF
analogous
#FFC796 #FFFB96 #CFFF96
triadic
#FFFB96 #96FFFB #FB96FF
tetradic
#FFFB96 #96FFC7 #969AFF #FF96CF
square
#FFFB96 #96FFC7 #969AFF #FF96CF
split-complementary
#FFFB96 #96CFFF #C796FF
monochromatic
#FFF61C #FFF959 #FFFB96 #FFFDD3 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.49
#FFFB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB96
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB96#FFFFFF#000000##000000
##FFFB961.001.0819.4919.49
#FFFFFF1.081.0021.0021.00
#00000019.4921.001.001.00
##00000019.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48E
Deuteranopia (green-blind)
#FFF99A
Tritanopia (blue-blind)
#FFEFE3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffb96;
/* rgb */ color: rgb(255, 251, 150);
/* oklch */ color: oklch(97.0% 0.123 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffcb6',
    500: '#fffb96',
    950: '#000000',
  },
}
SCSS
$custom: #fffb96;
$custom-light: #fffcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb96",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 150
  },
  "hsl": {
    "h": 57.714,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96981,
    "c": 0.12317,
    "h": 106.5
  },
  "luminance": 0.92456
}

Semantic roles & 50–950 ramp

primary
#FFFB96
secondary
#585DE1
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFB96

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

Preview Lab → · Contrast checker → · Palette generator →

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