#FFED97#FFED97

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

Color values

HEX#FFED97
RGBrgb(255, 237, 151)
HSLhsl(50, 100%, 80%)
HSVhsv(50, 41%, 100%)
CMYKcmyk(0%, 7.1%, 40.8%, 0%)
CIE-LABlab(93.48, -5.56, 43.82)
CIE-LCHlch(93.48, 44.17, 97.23°)
OKLaboklab(94.19% -0.0147 0.1069)
OKLCHoklch(94.19% 0.108 97.8)
XYZxyz(77.1118, 84.0652, 41.4364)
Luminance0.8406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFED97 #97A9FF
analogous
#FFB997 #FFED97 #DDFF97
triadic
#FFED97 #97FFED #ED97FF
tetradic
#FFED97 #97FFB9 #97A9FF #FF97DD
square
#FFED97 #97FFB9 #97A9FF #FF97DD
split-complementary
#FFED97 #97DDFF #B997FF
monochromatic
#FFD81D #FFE25A #FFED97 #FFF8D4 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFED97#FFFFFF#000000##000000
##FFED971.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)
#FDE990
Deuteranopia (green-blind)
#FFEF9A
Tritanopia (blue-blind)
#FFE1D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffed97;
/* rgb */ color: rgb(255, 237, 151);
/* oklch */ color: oklch(94.2% 0.108 97.8);
Tailwind
colors: {
  custom: {
    50: '#fff2b6',
    500: '#ffed97',
    950: '#000000',
  },
}
SCSS
$custom: #ffed97;
$custom-light: #fff2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffed97",
  "rgb": {
    "r": 255,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 49.615,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94188,
    "c": 0.10793,
    "h": 97.8
  },
  "luminance": 0.84063
}

Semantic roles & 50–950 ramp

primary
#FFED97
secondary
#5970E2
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFED97

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

Preview Lab → · Contrast checker → · Palette generator →

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