#FFFE96#FFFE96

#FFFE96 is a very light, vivid yellow. Relative luminance 0.943; OKLCH L 97.6% C 0.126 H 108.1°. Best body text is #000000 at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#FFFE96
RGBrgb(255, 254, 150)
HSLhsl(59, 100%, 79%)
HSVhsv(59, 41%, 100%)
CMYKcmyk(0%, 0.4%, 41.2%, 0%)
CIE-LABlab(97.77, -14.04, 49.73)
CIE-LCHlch(97.77, 51.68, 105.77°)
OKLaboklab(97.59% -0.0392 0.1203)
OKLCHoklch(97.59% 0.126 108.1)
XYZxyz(82.1882, 94.3474, 42.7296)
Luminance0.9435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE96 #9697FF
analogous
#FFCA96 #FFFE96 #CBFF96
triadic
#FFFE96 #96FFFE #FE96FF
tetradic
#FFFE96 #96FFCA #9697FF #FF96CB
square
#FFFE96 #96FFCA #9697FF #FF96CB
split-complementary
#FFFE96 #96CBFF #CA96FF
monochromatic
#FFFD1C #FFFD59 #FFFE96 #FFFFD3 #FFFFE0

Accessibility & contrast

On white

1.06
#FFFE96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.87
#FFFE96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE96
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE96#FFFFFF#000000##000000
##FFFE961.001.0619.8719.87
#FFFFFF1.061.0021.0021.00
#00000019.8721.001.001.00
##00000019.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffe96;
/* rgb */ color: rgb(255, 254, 150);
/* oklch */ color: oklch(97.6% 0.126 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffeb6',
    500: '#fffe96',
    950: '#000000',
  },
}
SCSS
$custom: #fffe96;
$custom-light: #fffeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe96",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 150
  },
  "hsl": {
    "h": 59.429,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.97588,
    "c": 0.12647,
    "h": 108.1
  },
  "luminance": 0.94346
}

Semantic roles & 50–950 ramp

primary
#FFFE96
secondary
#5859E1
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFE96

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

Preview Lab → · Contrast checker → · Palette generator →

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