#FDEC96#FDEC96

#FDEC96 is a very light, moderate yellow. Relative luminance 0.831; OKLCH L 93.8% C 0.108 H 98.4°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#FDEC96
RGBrgb(253, 236, 150)
HSLhsl(50, 96%, 79%)
HSVhsv(50, 41%, 99%)
CMYKcmyk(0%, 6.7%, 40.7%, 0.8%)
CIE-LABlab(93.05, -5.93, 43.73)
CIE-LCHlch(93.05, 44.13, 97.73°)
OKLaboklab(93.8% -0.0158 0.1067)
OKLCHoklch(93.8% 0.108 98.4)
XYZxyz(76.0101, 83.0779, 40.8800)
Luminance0.8308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDEC96 #96A7FD
analogous
#FDB996 #FDEC96 #DBFD96
triadic
#FDEC96 #96FDEC #EC96FD
tetradic
#FDEC96 #96FDB9 #96A7FD #FD96DB
square
#FDEC96 #96FDB9 #96A7FD #FD96DB
split-complementary
#FDEC96 #96DBFD #B996FD
monochromatic
#FBD61E #FCE15A #FDEC96 #FEF7D2 #FEFAE1

Accessibility & contrast

On white

1.19
#FDEC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#FDEC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDEC96
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDEC96#FFFFFF#000000##000000
##FDEC961.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE78F
Deuteranopia (green-blind)
#FFEE99
Tritanopia (blue-blind)
#FFE0D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fdec96;
/* rgb */ color: rgb(253, 236, 150);
/* oklch */ color: oklch(93.8% 0.108 98.4);
Tailwind
colors: {
  custom: {
    50: '#fff2b6',
    500: '#fdec96',
    950: '#000000',
  },
}
SCSS
$custom: #fdec96;
$custom-light: #fff2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdec96",
  "rgb": {
    "r": 253,
    "g": 236,
    "b": 150
  },
  "hsl": {
    "h": 50.097,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93803,
    "c": 0.10785,
    "h": 98.4
  },
  "luminance": 0.83076
}

Semantic roles & 50–950 ramp

primary
#FDEC96
secondary
#596FDF
accent
#26E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FDEC96

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

Preview Lab → · Contrast checker → · Palette generator →

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