#FFFC96#FFFC96

#FFFC96 is a very light, vivid yellow. Relative luminance 0.931; OKLCH L 97.2% C 0.124 H 107.0°. Best body text is #000000 at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#FFFC96
RGBrgb(255, 252, 150)
HSLhsl(58, 100%, 79%)
HSVhsv(58, 41%, 100%)
CMYKcmyk(0%, 1.2%, 41.2%, 0%)
CIE-LABlab(97.26, -13.07, 49.09)
CIE-LCHlch(97.26, 50.80, 104.91°)
OKLaboklab(97.18% -0.0364 0.1188)
OKLCHoklch(97.18% 0.124 107)
XYZxyz(81.5568, 93.0847, 42.5191)
Luminance0.9308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC96 #9699FF
analogous
#FFC896 #FFFC96 #CEFF96
triadic
#FFFC96 #96FFFC #FC96FF
tetradic
#FFFC96 #96FFC8 #9699FF #FF96CE
square
#FFFC96 #96FFC8 #9699FF #FF96CE
split-complementary
#FFFC96 #96CEFF #C896FF
monochromatic
#FFF91C #FFFA59 #FFFC96 #FFFED3 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.62
#FFFC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC96
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC96#FFFFFF#000000##000000
##FFFC961.001.0719.6219.62
#FFFFFF1.071.0021.0021.00
#00000019.6221.001.001.00
##00000019.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58E
Deuteranopia (green-blind)
#FFF99B
Tritanopia (blue-blind)
#FFF0E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc96;
/* rgb */ color: rgb(255, 252, 150);
/* oklch */ color: oklch(97.2% 0.124 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffdb6',
    500: '#fffc96',
    950: '#000000',
  },
}
SCSS
$custom: #fffc96;
$custom-light: #fffdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc96",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 150
  },
  "hsl": {
    "h": 58.286,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.97183,
    "c": 0.12427,
    "h": 107
  },
  "luminance": 0.93083
}

Semantic roles & 50–950 ramp

primary
#FFFC96
secondary
#585CE1
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC96

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

Preview Lab → · Contrast checker → · Palette generator →

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