#FFED98#FFED98

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

Color values

HEX#FFED98
RGBrgb(255, 237, 152)
HSLhsl(50, 100%, 80%)
HSVhsv(50, 40%, 100%)
CMYKcmyk(0%, 7.1%, 40.4%, 0%)
CIE-LABlab(93.49, -5.45, 43.35)
CIE-LCHlch(93.49, 43.69, 97.17°)
OKLaboklab(94.2% -0.0143 0.1059)
OKLCHoklch(94.2% 0.107 97.7)
XYZxyz(77.1933, 84.0978, 41.8659)
Luminance0.8409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFED98 #98AAFF
analogous
#FFBA98 #FFED98 #DDFF98
triadic
#FFED98 #98FFED #ED98FF
tetradic
#FFED98 #98FFBA #98AAFF #FF98DD
square
#FFED98 #98FFBA #98AAFF #FF98DD
split-complementary
#FFED98 #98DDFF #BA98FF
monochromatic
#FFD81E #FFE25B #FFED98 #FFF8D5 #FFFAE0

Accessibility & contrast

On white

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

On black

17.82
#FFED98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFED98
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFED98#FFFFFF#000000##000000
##FFED981.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE992
Deuteranopia (green-blind)
#FFEF9B
Tritanopia (blue-blind)
#FFE1D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffed98;
/* rgb */ color: rgb(255, 237, 152);
/* oklch */ color: oklch(94.2% 0.107 97.7);
Tailwind
colors: {
  custom: {
    50: '#fff2b7',
    500: '#ffed98',
    950: '#000000',
  },
}
SCSS
$custom: #ffed98;
$custom-light: #fff2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffed98",
  "rgb": {
    "r": 255,
    "g": 237,
    "b": 152
  },
  "hsl": {
    "h": 49.515,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.94204,
    "c": 0.10686,
    "h": 97.7
  },
  "luminance": 0.84095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFED98

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

Preview Lab → · Contrast checker → · Palette generator →

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