#FFED96#FFED96

#FFED96 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 94.2% C 0.109 H 97.9°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#FFED96
RGBrgb(255, 237, 150)
HSLhsl(50, 100%, 79%)
HSVhsv(50, 41%, 100%)
CMYKcmyk(0%, 7.1%, 41.2%, 0%)
CIE-LABlab(93.46, -5.66, 44.30)
CIE-LCHlch(93.46, 44.66, 97.28°)
OKLaboklab(94.17% -0.0151 0.108)
OKLCHoklch(94.17% 0.109 97.9)
XYZxyz(77.0309, 84.0329, 41.0105)
Luminance0.8403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFED96 #96A8FF
analogous
#FFB996 #FFED96 #DDFF96
triadic
#FFED96 #96FFED #ED96FF
tetradic
#FFED96 #96FFB9 #96A8FF #FF96DD
square
#FFED96 #96FFB9 #96A8FF #FF96DD
split-complementary
#FFED96 #96DDFF #B996FF
monochromatic
#FFD81C #FFE359 #FFED96 #FFF7D3 #FFFAE0

Accessibility & contrast

On white

1.18
#FFED96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#FFED96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFED96
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFED96#FFFFFF#000000##000000
##FFED961.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE88F
Deuteranopia (green-blind)
#FFEF99
Tritanopia (blue-blind)
#FFE1D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffed96;
/* rgb */ color: rgb(255, 237, 150);
/* oklch */ color: oklch(94.2% 0.109 97.9);
Tailwind
colors: {
  custom: {
    50: '#fff2b6',
    500: '#ffed96',
    950: '#000000',
  },
}
SCSS
$custom: #ffed96;
$custom-light: #fff2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffed96",
  "rgb": {
    "r": 255,
    "g": 237,
    "b": 150
  },
  "hsl": {
    "h": 49.714,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94172,
    "c": 0.10901,
    "h": 97.9
  },
  "luminance": 0.8403
}

Semantic roles & 50–950 ramp

primary
#FFED96
secondary
#586FE1
accent
#27E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFED96

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

Preview Lab → · Contrast checker → · Palette generator →

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