#FFFF96#FFFF96

#FFFF96 is a very light, vivid yellow. Relative luminance 0.950; OKLCH L 97.8% C 0.128 H 108.5°. Best body text is #000000 at 20.00:1 contrast (WCAG AA passes).

Color values

HEX#FFFF96
RGBrgb(255, 255, 150)
HSLhsl(60, 100%, 79%)
HSVhsv(60, 41%, 100%)
CMYKcmyk(0%, 0%, 41.2%, 0%)
CIE-LABlab(98.03, -14.53, 50.05)
CIE-LCHlch(98.03, 52.12, 106.19°)
OKLaboklab(97.79% -0.0406 0.121)
OKLCHoklch(97.79% 0.128 108.5)
XYZxyz(82.5064, 94.9838, 42.8357)
Luminance0.9498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF96 #9696FF
analogous
#FFCB96 #FFFF96 #CBFF96
triadic
#FFFF96 #96FFFF #FF96FF
tetradic
#FFFF96 #96FFCB #9696FF #FF96CB
square
#FFFF96 #96FFCB #9696FF #FF96CB
split-complementary
#FFFF96 #96CBFF #CB96FF
monochromatic
#FFFF1C #FFFF59 #FFFF96 #FFFFD3 #FFFFE0

Accessibility & contrast

On white

1.05
#FFFF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.00
#FFFF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF96
20.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF96#FFFFFF#000000##000000
##FFFF961.001.0520.0020.00
#FFFFFF1.051.0021.0021.00
#00000020.0021.001.001.00
##00000020.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF78E
Deuteranopia (green-blind)
#FFFB9B
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #ffff96;
/* rgb */ color: rgb(255, 255, 150);
/* oklch */ color: oklch(97.8% 0.128 108.5);
Tailwind
colors: {
  custom: {
    50: '#ffffb6',
    500: '#ffff96',
    950: '#000000',
  },
}
SCSS
$custom: #ffff96;
$custom-light: #ffffb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff96",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.97791,
    "c": 0.12759,
    "h": 108.5
  },
  "luminance": 0.94982
}

Semantic roles & 50–950 ramp

primary
#FFFF96
secondary
#5858E1
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFF96

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

Preview Lab → · Contrast checker → · Palette generator →

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