#FFFD98#FFFD98

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

Color values

HEX#FFFD98
RGBrgb(255, 253, 152)
HSLhsl(59, 100%, 80%)
HSVhsv(59, 40%, 100%)
CMYKcmyk(0%, 0.8%, 40.4%, 0%)
CIE-LABlab(97.54, -13.36, 48.49)
CIE-LCHlch(97.54, 50.29, 105.40°)
OKLaboklab(97.42% -0.0371 0.1176)
OKLCHoklch(97.42% 0.123 107.5)
XYZxyz(82.0341, 93.7794, 43.4795)
Luminance0.9378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD98 #989AFF
analogous
#FFCA98 #FFFD98 #CEFF98
triadic
#FFFD98 #98FFFD #FD98FF
tetradic
#FFFD98 #98FFCA #989AFF #FF98CE
square
#FFFD98 #98FFCA #989AFF #FF98CE
split-complementary
#FFFD98 #98CEFF #CA98FF
monochromatic
#FFFB1E #FFFC5B #FFFD98 #FFFED5 #FFFEE0

Accessibility & contrast

On white

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

On black

19.76
#FFFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD98
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD98#FFFFFF#000000##000000
##FFFD981.001.0619.7619.76
#FFFFFF1.061.0021.0021.00
#00000019.7621.001.001.00
##00000019.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffd98;
/* rgb */ color: rgb(255, 253, 152);
/* oklch */ color: oklch(97.4% 0.123 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffdb8',
    500: '#fffd98',
    950: '#000000',
  },
}
SCSS
$custom: #fffd98;
$custom-light: #fffdb8;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd98",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 58.835,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.97415,
    "c": 0.12326,
    "h": 107.5
  },
  "luminance": 0.93778
}

Semantic roles & 50–950 ramp

primary
#FFFD98
secondary
#595CE2
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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