#FFFD96#FFFD96

#FFFD96 is a very light, vivid yellow. Relative luminance 0.937; OKLCH L 97.4% C 0.125 H 107.5°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#FFFD96
RGBrgb(255, 253, 150)
HSLhsl(59, 100%, 79%)
HSVhsv(59, 41%, 100%)
CMYKcmyk(0%, 0.8%, 41.2%, 0%)
CIE-LABlab(97.52, -13.56, 49.41)
CIE-LCHlch(97.52, 51.24, 105.34°)
OKLaboklab(97.39% -0.0378 0.1195)
OKLCHoklch(97.39% 0.125 107.5)
XYZxyz(81.8717, 93.7144, 42.6241)
Luminance0.9371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD96 #9698FF
analogous
#FFC996 #FFFD96 #CDFF96
triadic
#FFFD96 #96FFFD #FD96FF
tetradic
#FFFD96 #96FFC9 #9698FF #FF96CD
square
#FFFD96 #96FFC9 #9698FF #FF96CD
split-complementary
#FFFD96 #96CDFF #C996FF
monochromatic
#FFFB1C #FFFC59 #FFFD96 #FFFED3 #FFFEE0

Accessibility & contrast

On white

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

On black

19.74
#FFFD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD96
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD96#FFFFFF#000000##000000
##FFFD961.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58E
Deuteranopia (green-blind)
#FFFA9B
Tritanopia (blue-blind)
#FFF1E4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffd96;
/* rgb */ color: rgb(255, 253, 150);
/* oklch */ color: oklch(97.4% 0.125 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffdb6',
    500: '#fffd96',
    950: '#000000',
  },
}
SCSS
$custom: #fffd96;
$custom-light: #fffdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd96",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 150
  },
  "hsl": {
    "h": 58.857,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.97386,
    "c": 0.12537,
    "h": 107.5
  },
  "luminance": 0.93713
}

Semantic roles & 50–950 ramp

primary
#FFFD96
secondary
#585AE1
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFD96

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

Preview Lab → · Contrast checker → · Palette generator →

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